我有包含记录的字段 ID:
1
2
3
.
.
9
10
是否有像select Bottom 5 * from table order by id desc
这样的mysql查询语法?
8
7
6
5
4
谢谢!
最佳答案
请尝试运行以下查询。
select column_name from table_name order by id desc limit 5;
关于mysql查询-选择底部n条记录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8950586/