Question d’entretien chez Southwest Airlines

Explain the sql subquery and why we need it