Microsoft
Software
Hardware
Network
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
Where can I find free borders to download?
Make an Exception to Folder Redirect Group Policy Rule
LIKE operator in SQL not working
Conversion failed when converting from a character string to uniqueidentifier.
How to add safe senders in Outlook 2003 Junk filter using GPO
Emc Networker mminfo command
Cast Question for Crystal Reports
video driver needed
How to prevent bandwith leeching on content?
Display Query Results in a Message Box