DELETE a FROM tbBuilding a WHERE EXISTS (SELECT 1 FROM tbBuilding b WHERE b.Province = a.Province AND b.City = a.City AND b.County = a.County AND b.Street = a.Street AND b.Road = a.Road AND b.BuildingGroup = a.BuildingGroup AND b.Building = a.Building AND b.BuildingId < a.BuildingId)
posted on 2017-12-07 14:19  大陈1108  阅读(140)  评论(0编辑  收藏  举报