Pat*_*her 11
SELECT City, Count(City) As theCount
FROM (Select City, State From tblCityStateZips Group By City, State) As C
GROUP By City
HAVING COUNT Count(City) > 1
Run Code Online (Sandbox Code Playgroud)
这将返回包含在多个州中的所有具有计数的城市.
Greenville 39
Greenwood 2
GreenBriar 3
等
| 归档时间: |
|
| 查看次数: |
27717 次 |
| 最近记录: |