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