syntax error: select * from sanpham where (idDM = soan or idDM in (select idDM from danhmuc where cap1 = soan) or idDM in (select idDM from danhmuc where dmCha = soan) or idDM in (select idDM from danhmuc where dmCha in (select idDM from danhmuc where cap1 = soan))) order by idSP DESC