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
'guid' is null or not an object in Jquery
Static route to website in Squid
install lexmark c912 on windows sbs 2003 box
Pervasive SQL 9.5 - odbc SELECT Query - DATE = '0000-00-00'
Spanning-tree Cost to block uplink to core Switches.
Maxtor OneTouch 4 Family drive is no longer working
How to highlight row with color in document library in sharepoint 2010?
Seeking advice on a hosting vendor
Deploy Printer Drivers to WinXP Computers
Gateway for Server automatically being removed after restart