表数据:tablet;img src=https
23 查阅
参考答案:
所要结果:
A b 11
B g 8
请写出获得此结果的SQL 语句:
select * from table
where (num in
(select max(num) from table group by id)
参考答案:
所要结果:
A b 11
B g 8
请写出获得此结果的SQL 语句:
select * from table
where (num in
(select max(num) from table group by id)