Select id,name,tel from table1where name In (Select name from table1 Group by name having (Count(*)>1))ORDER BY Name