答案 0 :(得分:1)
您可以检出此查询:
SELECT `id`, `name`, `gender`, `age`, `c_id`, MAX(`height`) AS height
FROM `student`
GROUP BY `c_id`
ORDER BY `height` DESC;
这里是Demo
答案 1 :(得分:1)
select *
from student
where (c_id, age,height) in ( Select c_id
, max(age) age
, max(height) as height
from student
group
by c_id )
答案 2 :(得分:0)
尝试一下
ga('create', 'UA-XXXXXXXX-X')