Train Timetable solutions

Train Timetable was solved using SQL by 1 contestant.