I would like to execute a query as a result of which I have a column with false if the value in the previous column is 0 and true if it is greater than 0:
as an example:
id count
1 1
2 3
3 0
4 5
5 2
result:
id count
1 true
2 true
3 false
4 true
5 true
source
share