sanphamfiler select `sanpham_id`,`sanpham_tieude`,`sanpham_alias` from `tbsanpham` sp left join `tbuser` us on sp.user_id = us.user_id where `sanpham_trangthai` = 1 and FIND_IN_SET(895, sanpham_thuoctinh) and sanpham_id in(2670,2671,2685,2686,2770,2771,2772,2784,2807,2811,2821,2919,3372,2670,2671,2685,2686,2770,2771,2772,2784,2807,2811,2821,2919,3372,2670,2671,2685,2686,2770,2771,2772,2784,2807,2811,2821,2919,3372,2670,2671,2685,2686,2770,2771,2772,2784,2807,2811,2821,2919,3372,2670,2671,2685,2686,2770,2771,2772,2784,2807,2811,2821,2919,3372) and FIND_IN_SET(40.000.000, sanpham_thuoctinh) order by sanpham_thutu asc,sanpham_id desc 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 '.000, sanpham_thuoctinh) order by sanpham_thutu asc,sanpham_id desc' at line 1