DISTINCT做得到吗?!
不管用什么方法,能否显示出来?

解决方案 »

  1.   

    建一个新表,把原表不重复的内容select过去,把旧表删除,重命名新表为旧表的名字
      

  2.   

    比较麻烦。我得举个例子才能说得通。以下假设你支持子查询。不然你拆成几条语句吧。
    假设表talbe有字段id,a1,a2,a3select * from talbe where id not in (select id from (select id,count(*) as total from talbe group by a1,a2,a3) where total=1)
      

  3.   

    取出也一样,建个新表,不删除旧表,用leftjoin查旧表有新表无的纪录就是重复的纪录