mysql分组查询最大的数据

来源:互联网 发布:广州天际网络 编辑:程序博客网 时间:2024/05/21 07:37
select *from【表名】where【排序字段】in(select max(【排序字段】)from【表名】groupby【分组字段】)