Coach note

Interviewers ask this kind of question to surface how you think, not what you remember. The strongest answers are specific, calmly told, and end on what changed.

SQL · Joins

You have a flights table with origin, destination, departure_time, and arrival_time. Write a query to find all possible two-leg journeys from city A to city C (via any intermediate city B) where the layover is between 1 and 4 hours.

Type your answer
0of ~150 wordsAbout a minute spoken

Voice isn’t supported in this browser — type your answer in the box.

Create a free account to get more critiques.

Your answer
Your answer appears here as you speak.

Practice more

Thousands of questions, calibrated to your role — your progress saved across every session, with model answers and full breakdowns.