--搜索重复的
select a.* 
from table1 a,(select name from table1 group by name having count(*)>1)b 
where a.name=b.name