1、mysql分组获取最新数据sql> select max(column_name) from table group by column_name having count(*) order by column_name desc;