4 | SELECT `Soundcrew`.`id`, `Soundcrew`.`name`, `Soundcrew`.`name_kana`, `Soundcrew`.`message`, `Soundcrew`.`history`, `Soundcrew`.`favorites`, `Soundcrew`.`url`, `Soundcrew`.`blog`, `Soundcrew`.`twitter`, `Soundcrew`.`birthday`, `Zodiac`.`name`, `Blood`.`name`, `DefBroadcastTime`.`week`, `DefBroadcastTime`.`broadcast_start`, `DefBroadcastTime`.`broadcast_end`, `DefProgramSoundcrew`.`broadcast`, `Program`.`id`, `Program`.`name`, `Program`.`same_information`, `Program`.`catch_copy`, `Program`.`notice`, `Program`.`url`, `Program`.`request_mail`, `Program`.`mail_type`, `Program`.`broadcast` FROM `soundcrews` AS `Soundcrew` LEFT JOIN zodiacs AS `Zodiac` ON (`Zodiac`.`id` = `Soundcrew`.`zodiac_id`) LEFT JOIN bloods AS `Blood` ON (`Blood`.`id` = `Soundcrew`.`blood_id`) INNER JOIN def_program_soundcrews AS `DefProgramSoundcrew` ON (`Soundcrew`.`id` = `DefProgramSoundcrew`.`soundcrew_id`) INNER JOIN def_broadcast_times AS `DefBroadcastTime` ON (`DefBroadcastTime`.`id` = `DefProgramSoundcrew`.`broadcast_time_id` AND `DefBroadcastTime`.`release_start` <= '2022-07-01' AND `DefBroadcastTime`.`release_end` >= '2022-07-01') INNER JOIN programs AS `Program` ON (`Program`.`id` = `DefBroadcastTime`.`program_id` AND `Program`.`release_start` <= CURDATE() AND ((`Program`.`release_end` is null) OR (((`Program`.`release_end` is not null) AND (`Program`.`release_end` >= CURDATE()))))) WHERE ((`Soundcrew`.`radio_station` = 1) AND (`Soundcrew`.`id` != 42) AND (`Soundcrew`.`release_start` <= CURDATE()) AND (((`Soundcrew`.`release_end` is null) OR (((`Soundcrew`.`release_end` is not null) AND (`Soundcrew`.`release_end` >= CURDATE())))))) ORDER BY `Soundcrew`.`sort` ASC, `Program`.`sort` ASC, `DefBroadcastTime`.`week` ASC, `DefBroadcastTime`.`broadcast_start` ASC | | 18 | 18 | 3 |