表名为 test_1201 select * from test_1201 where (id,data) in (select id,max(data) from test_1201 group by id);