sql

SELECT * FROM info GROUP BY id ORDER BY id

 先 GROUP BY id  再 ORDER BY id

SELECT p.id FROM info p ORDER BY p.id LIMIT 1,2

默认升序