Sql Query to get total rows and total rows matching specific condition
- by mrNepal
OK, Here is what my table looks like
------------------------------------------------
id type
-----------------------------------------------
1 a
2 b
3 a
4 c
5 c
7 a
8 a…