I have this table:
Id status ----------- 1 true 2 false 3 true 4 true 5 false
I need output like this:
Id status count