🙏 We really need your support. We need funding to continue our mission: publishing new lessons and improving the platform. If you can, please support the project with a donation. Help the project now →
SQL code copied to buffer
Task 19:

List of Passengers

Receive a list of passengers who purchased a business class ticket for flight number PG0408 marked 2017-08-31
Output the result in two columns ticket_no - ticket number, passenger_name - passenger name and phone - passenger's phone number.
Sort the result by the first column.

Use PostgreSQL syntax to write your answer. Descriptions of tables are provided in the right pane.

Write your request in the field below and click the "Check it!" button.
Get hint
Copy code Clear editor

Hi! Could we please enable some services and cookies to improve your experience and our website?

Privacy & Cookie Policy.