SQL多字段的查询重复记录

select * from table1 t where (select count(*) from table1 where column1=t.column1 AND column2=t.column2 and column3=t.column3)>1

 

posted @ 2019-11-22 11:30  enjoryWeb  阅读(2562)  评论(0编辑  收藏  举报