首頁  >  文章  >  資料庫  >  mysql limit错误错在哪里?

mysql limit错误错在哪里?

WBOY
WBOY原創
2016-06-06 09:43:281368瀏覽

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

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn