Mysql查询表中字段值最大的10个数据记录
sql语句的写法:
select * from 表 order by 要最大值的字段 desc limit 0,10
select a.*, b.*, c.* from 表1, 表2, 表3 order by a.id(要最大值的字段) desc limit 0,10
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
Mysql查询表中字段值最大的10个数据记录
sql语句的写法:
select * from 表 order by 要最大值的字段 desc limit 0,10
select a.*, b.*, c.* from 表1, 表2, 表3 order by a.id(要最大值的字段) desc limit 0,10
暂无评论内容