|   回首頁   |   詢價車  |   登入   |
 
商品搜尋

Can't execute query

SELECT id,title FROM news WHERE (available='1' or (available='0' and sdate <= '2024-12-27' AND edate >= '2024-12-27')) ORDER BY sdate DESC LIMIT -1, 1
  	

MySQL Error: 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

This script cannot continue, terminating.