Task: Text to Code
Input (English): Step 1: For each row in broadcast table, find corresponding rows in program table and in channel table.
Step 2: find channel's Owner of the results of step 1 whose program's Name equals Morning.
Step 3: For each row in program table, find the corresponding rows in broadcast table.
Step 4: find program's Owner of the results of step 3 whose Time_of_day equals Night.
Step 5: show the rows that are in both the results of step 2 and the results of step 4
Output (English): SELECT T2.Owner FROM program AS T1 JOIN channel AS T2 JOIN broadcast AS T3 ON T1.Program_ID = T3.Program_ID AND T3.Channel_ID = T2.Channel_ID WHERE T1.Name = "Morning" INTERSECT SELECT T1.Owner FROM program AS T1 JOIN broadcast AS T3 ON T1.Program_ID = T3.Program_ID WHERE T3.Time_of_day = "Night"