Couldn't execute query : SELECT mc.`CategoryList` FROM `dvdinfo` d, `moviecategorylink` mc WHERE d.`DVDID` IN (13314,6615,14,3473,6710,4338,13052) AND mc.`MovieID`=d.`MovieID