Sharpen your SQL skills with our interactive exercises! Practice a wide range of SQL tasks, from basic queries to advanced techniques. Get immediate feedback on your solutions, helping you learn from mistakes and improve your skills. Boost your confidence for job interviews and real-world SQL applications.
I am writing to you today because I need your help.
SQLtest.online is a free platform designed to help people of all levels master SQL.
We offer a wide range of interactive tests, problems and training materials to help you improve your SQL skills.
The platform has already helped a lot of people, but we want to make it even better. And this is where you can help us!
How you can help:
Invite your friends and colleagues to join SQLtest.online!
Tell your friends and colleagues about SQLtest.online. Share a link to our site on social networks, by email or in person.
Write an article or blog post about SQLtest.online. Share your experience with the platform.
Together we can make SQLtest.online the best resource for learning SQL!
The more people use the platform, the better it will become. We'll be able to add more content, improve features, and create a better community for SQL enthusiasts.
For each airport, find the average occupancy of flights in August 2017 (according to the actual departure date) for business and economy class.
Display the result in two columns departure_airport - departure airport code, average_business_occupancy - average occupancy of business class seats in percent, rounded to two decimal places , average_economy_occupancy - average occupancy of economy class seats.
Sort the results by departure airport code.
Write your request in the field below and click the "Check it!" button.
To write the answer, use PostgreSQL syntax. Descriptions of the tables are given in the right panel.
Explore over 280 diverse tasks on our platform.
Log in to save your progress.
Bookings Database (PostgreSQL)
The subject area of this database is airline flights through various airports.