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
how do i/can setup backup DC on an existing 2008 AD.
Fancybox Jquery Form
SBS2008 disable xp client firewall via GPO
palm tungsten T2
CSS
EZ_GPO (Not so easy)
How to add a new value from a form onto a subform
Exchange 2007 has stopped working
Cisco ASA CSC setup
upgrading and moving a sql server express 2005 database to a sql server standard