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
EtherChannel on Cisco 2960 switch intermittent dropped packet
sysstat ntbackup problem "Registry Writer" has reported an error 0x800423f1
How can I create a signature capture in iPhone SDK?
Sync Center and Moving Redirected Folder in SBS2008
stop error oxoooooo7b(OxF78D2524,OxC0
000034 will not load XP setup!!!!!!!
Remote Web Workplace different website address
How to get the text from jsp file to database?
Zebra LP 2844 label printer prints the first print job successfully, subsequent print jobs after skip labels and/or print partial data on labels until computer is rebooted.
How to compress a string into a short representation in ASP.NET using C# or VB.NET?
Can't access Exchange 2003 OWA from Internet