SQL Error:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-9,9' at line 1
SELECT a.*,b.pd_name,b.pd_lang,b.pd_id,b.pd_pid
FROM products AS a
LEFT JOIN products_cate AS b ON a.pro_pd_id = b.pd_id
WHERE a.pro_lang = 'en' AND b.pd_lang = 'en' AND ( b.pd_id = 165 OR b.pd_pid = 165 )
ORDER BY a.pro_dt DESC , a.pro_sort_id DESC , a.pro_id DESC limit -9,9
Dai-Ichi Shoji Co.Ltd