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 'tags) order by stt,id desc limit 0,1' at line 1syntax error: select ten_vi,tenkhongdau,id,photo,giaban from table_product where hienthi=1 and FIND_IN_SET(,tags) order by stt,id desc limit 0,1