syntax error: select * from sanpham where goi = '0' and kichhoat = '1' and (idDM = pham or idDM in (select idDM from danhmuc where cap1 = pham) or idDM in (select idDM from danhmuc where dmCha = pham) or idDM in (select idDM from danhmuc where dmCha in (select idDM from danhmuc where cap1 = pham))) order by capNhat DESC, vitri, idSP DESC