SELECT a.*, MATCH(keyword)against('ladies' fashion dresses, fashion dress 2011, fashi') as score FROM bb_product_keyword a left join bb_product b on a.pro_id = b.pro_id WHERE b.pro_state = 1 and b.pro_bbt_state <> 2 and MATCH (a.keyword) AGAINST ('ladies' fashion dresses, fashion dress 2011, fashi') and a.com_id=1675 group by a.keyword order by score desc limit 0,15You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fashion dresses, fashion dress 2011, fashi') as score FROM bb_product_keywo' at line 1