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 'to-consolidate-and-review-all-possible-aspects-to-ensure-all-of-us-have-a-holist' at line 1syntax error: select * from table_baiviet where hienthi>0 and id_loaibds = tag and id_city = we-are-trying-to-consolidate-and-review-all-possible-aspects-to-ensure-all-of-us-have-a-holistic-view-before-getting-started and id_dist = tag and (dientich BETWEEN AND ) and (giaban BETWEEN AND ) and id_loaigd = review-broker-forex-exness-q1-2020-part-3-leverage-commission-fee-spread order by stt,id desc limit 0,8