M
Mario Krsnic
Hallo everybody!
I have in a table three columns with boolean values. So I can get the number
in a column:
SELECT count(col1)
FROM tbl where col1=true
Is it possible to get count(col1), count(col2), count(sol3) with only one
query? In every
column should be considered only true values (col1=true, col2=true,
col3=true)
Thanks for your ideas!
Mario
I have in a table three columns with boolean values. So I can get the number
in a column:
SELECT count(col1)
FROM tbl where col1=true
Is it possible to get count(col1), count(col2), count(sol3) with only one
query? In every
column should be considered only true values (col1=true, col2=true,
col3=true)
Thanks for your ideas!
Mario