I have following table 'tbl_pads' with one column named 'id_pad' with 6 rows:
pad_1 |
pad_1 |
pad_2 |
pad_3 |
pad_3 |
pad_3 |
With SELECT id_pad FROM tbl_pads GROUP BY id_pad
I get following rows:
pad_1 |
pad_2 |
pad_3 |
With SELECT COUNT(id_pad) AS COUNT_PADS FROM tbl_pads GROUP BY id_pad
I get following rows
2 |
1 |
3 |
How can get the rows Count of the Grouped Statement? I expect the result 3