select t.* from test t    
where t.testId in (select testIdfrom test group by testIdhaving count(testId) > 1);

05-11 22:35