syntax error: select * from sanpham where anHien = '1' and idDM = '138' or idDM in (select idDM from danhmuc where cap1 = 138) or idDM in (select idDM from danhmuc where dmCha = 138) or idDM in (select idDM from danhmuc where dmCha in (select idDM from danhmuc where cap1 = 138)) order by vitri, idSP DESC limit -100,100