Stuck in group by clause.
Col1 Col2
----------------
1 1
1 2
2 1
3 3
4 2
5 4
2 3
I want count of Col2 such that Col2 value is 1: The output expected is:
Col1 Count(Col2)
---------------------
1 1
2 1
3 0
4 0
5 0