日期:2014-05-17 浏览次数:20512 次
关键字 distinct
select distinct * from TableName as out where exists(select * from (select DiaID from TableName group by DiaID having count(*) > 1) as b where DiaID = out.DiaID)