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
802.1q trunk
Content disappearing after I hit a link?
Remote site unable to ping / connect to multiple subnets on home corporate network
Installation Failed on Routing and Remote Access
Joomla Module
WSUS clients disappear when syncronising
2 ways in ASP.NET to open a different page?
Drupal Newsletter - SimpleNews settings
how to prove power surge damage
How to connect treeview & listview or grid through Access database