查重

来源:互联网 发布:php发短信代码 编辑:程序博客网 时间:2024/03/28 22:11
select    (select  1  from  yourtable  x  where  yourtable.fieldname=x.fieldname  group  by  fieldname  having  yourtable.*  from  yourtable  where  existscount(*)>1)