SELECT `id`,`oldaid`,`filename`,`fileid` FROM `tp_course` WHERE `filename` = 'course-66685' LIMIT 1 aaa