SELECT * FROM `applications` WHERE `jobseeker_id` = 0 AND `file_id` != '' AND `date` < DATE_SUB(NOW(), INTERVAL 3 MONTH) ORDER BY `date` DESC