SELECT SQL_CALC_FOUND_ROWS pd157.*, IF(pd157.price>0,1,0) AS flag_price FROM pd157 WHERE (pd157.approved=1) AND (pd157.published=1) AND (pd157.brand='236') GROUP BY pd157.crkp_id ORDER BY flag_price DESC, , LIMIT 10
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 ' LIMIT 10' at line 1
รถมอเตอร์ไซค์ Harley-Davidson ราคาฮาร์ลีย์-เดวิดสันทุกรุ่น เรียงตามปี-ราคา หน้าละ 10 รายการ | เช็คราคา.คอม