select * from TestTable
where id in ( --根据Data分类获取数据最小ID列表 select min(id) from group by Data ) 查了N多种方法,个人认为这种方法是最好理解的
|
|
来自: 绚爷好人图书馆 > 《乱七八糟的好用的东西》