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
IP address remembered as old computer name
unable to enable Archive Mailbox in Exchange 2010
Unload as3 but Audio continues to play
recover missing emails - information store service stopped
Insert CheckBoxList values
VBScript XCacls NTFS permissions
using Task.IsCompleted
Cisco 1841: setting a bandwidth limit
How do I have a field displayed in a report for all data options except one
Outlook hyperlinks take me to my homepage (not the actual link url