ERROR! You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order by sapxep desc,id desc' at line 1 (code:1064)
select id, tieude_vi, tieude_en, hinhct, spid, spid1, spid2, giaban, giathem_vi, giathem_en, xnd_vi, xnd_en, motasp_vi, motasp_en, trangthai, hansd_vi, hansd_en from h_sanpham where cm=0 and hienthi=1 and spid = order by sapxep desc,id desc