Error: SELECT Item,Ten FROM dta_sanpham,dta_mcat WHERE dta_sanpham.Id=dta_mcat.ProId and Trangthai=1 and LoaispId IN (876,876,876,876,876,,876,876,876,876) and Item NOT IN (492,493,491,626,760,533,1216,1219,1214,1215) GROUP BY Item ORDER BY Vitri desc
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '876,876,876,876) and Item NOT IN (492,493,491,626,760,533,1216,1219,1214,1215) ' at line 1