sql代码如下:
-- 1)
select * from dbo.T0058_PointObjectGIS where C0058_Lon in(select C0058_Lon from T0058_PointObjectGIS group by C0058_Lon having(COUNT(*))>1)
-- 2 )
select c0130_entcode,c0130_entname,COUNT(*) from T0140_EntList group by c0130_entcode,c0130_entname
---- 来自jb51.cc
原文链接:https://www.f2er.com/mssql/530168.html