求思路 分组求最大值数据:a,1a,2a,3b,2b,1想求出 a.3,b,2的数据[解决办法]
或者select * from test awhere a.col2=(select max(col2) from test b where a.col1=b.col2)