Home  >  Article  >  Database  >  order-mysql查询语句求助 限定输出数和排序方式

order-mysql查询语句求助 限定输出数和排序方式

WBOY
WBOYOriginal
2016-06-06 09:43:241011browse

mysqlorder查询语句

从表a中倒叙输出id从20-11的记录这句话怎么写
select * from a where id limit 10,20 order by id desc
这样不对 order和limit无法同时使用。。。到底要怎么写啊 求大神指点

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn