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 'group-of-people-who-are-investing-heavily-on-forex-trading-by-understanding-that' at line 1syntax error: select * from table_baiviet where hienthi>0 and id_loaibds = tag and id_city = we-are-a-group-of-people-who-are-investing-heavily-on-forex-trading-by-understanding-that-all-of-us-have-a-lot-of-options-and-face-with-risks-when-starting-a-trading-journey-so and id_dist = tag and (dientich BETWEEN AND ) and (giaban BETWEEN AND ) and id_loaigd = review-broker-xm-q2-2020-part-35-account-types order by stt,id desc limit 0,8