SELECT DISTINCT id FROM tb WHERE id IN( SELECT id AS NUM FROM tb GROUP BY id ORDER BY NUM DESC ) LIMIT 0,10