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 'and spid1=0 order by sapxep,id' at line 1 (code:1064)
select id,tieude from h_sanpham where cm=1 and hienthi=1 and spid= and spid1=0 order by sapxep,id