Values Id's
1 120
1 120
0 120
0 120
0 120
Not applicable 120
Not applicable 120
Empty 120
I wanted to select the count of values 1 into different variable and count of 0 into different variable with the single select statement. Is it possible ?
Possible? Sure, here's one option. Sample data in lines #1 - 10; query you might use begins at line #11.