方法还是有的:1、直接降序排序,第二个就是2、剔除最大的后再最余下数据的最大select max(XXX)from tablewhere XXX<>(select max(XXX) from table);