Couldn't execute query : SELECT mc.`CategoryList` FROM `dvdinfo` d, `moviecategorylink` mc WHERE d.`DVDID` IN (2554,34229,3186,13264,6047) AND mc.`MovieID`=d.`MovieID