select * from v_addr a where (select count(1) from v_addr where T省份=a.T城市 and T省份=a.T城市)>1
Sql 查询同一个表中两个字段里相同的数据
最新推荐文章于 2024-10-09 15:41:45 发布
select * from v_addr a where (select count(1) from v_addr where T省份=a.T城市 and T省份=a.T城市)>1