Question : How to get count of query with group by clause

Hello All,
I need to get count of group by clause which I am not able to figure out how to do it.

For Example: My Query is select * from license where address_type='T' groupby phone_number.
I need the count of the resultset returned by the query.

Thanks in advance.
-Dojjol

Answer : How to get count of query with group by clause

select count(tmp.*) from
(
select * from license where address_type='T' group by phone_number
) tmp
Random Solutions  
 
programming4us programming4us