0
I need to make one select
where you take the lowest value found, other than 0 (zero),
SELECT MIN(VALORTARIFA) MENORTARIFA FROM TABELA
In the above command, if there is some value 0.00, it will return 0.00 to me and I wish only the highest value above 0.00, (0.01) I am already interested.
There’s a way I can get it ?
Tried with a
WHERE
?– rray
Are you doing this in both banks? is it Mysql or Sql-Server?
– Guilherme Lautert
No. only in SQL Server
– Alvaro Vieira
SELECT MIN(VALUE CHARGED) MENORTARIFA FROM TABLE Where value > 0 ?
– John Diego