How to select all columns except empty and whose values are greater than zero? I do this:
query->exec("SELECT latitude,longitude,data FROM \"SchemeObservationLog\".data " " WHERE id_log = "+QString::number(_IdLog)+" AND latitude IS NOT NULL AND latitude > 0 " " AND latitude IS NOT NULL AND latitude > 0"); But this request is executed with an error.
>0automatically takes only not null - Mike