Couldn't execute query : SELECT mc.`CategoryList` FROM `dvdinfo` d, `moviecategorylink` mc WHERE d.`DVDID` IN (6396,15930,7034,58272,9668,5575,41120) AND mc.`MovieID`=d.`MovieID