sql 查重

SELECT * FROM `表名1` WHERE 字段1 in(select sn from 表名1 group by 字段1 having count(*)>1)
SELECT sn ,count(*) as a FROM `表名` group by sn having a>1

 

sql 查重

上一篇:dotnetcore Docker


下一篇:mysql 开启远程连接