我想对counted和group by表结果进行计数id |name2 |abc4 |xyz我的查询是SELECT COUNT(id) as count_id from a GROUP BY namecount_id2所以我的查询是SELECT COUNT(SELECTCOUNT(id) as count_id from a GR
VPXV_ENTITY wherehs.HOSTID = hsds.HOST_ID andGROUPBY en.NAMEMsg 8120, Level 16, State 1, Line 1
Column 'dbo.VPXV_DATASTORE.NAME' is invalidin the select list because it is not contained in either an