sql语句group by找到最大值及对应的一条数据

NoSuchKey