Products Search : Inquiry Management Inquiry Cart Login / Register Home

Can't execute query

SELECT id,title FROM news_eng WHERE (available='1' or (available='0' and sdate <= '2018-03-19' AND edate >= '2018-03-19')) 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.