Couldn't execute query : SELECT DISTINCT d.`DVDID` FROM `dvdinfo` d WHERE d.`DVDID` IN () ORDER BY d.`Title`