Home  >  Article  >  Database  >  mysql limit错误错在哪里?

mysql limit错误错在哪里?

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

mysql

MySQL 5.6.12

select * from table limit 1,-1 ;

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near '-1,1'
at line 1

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