Calcualte counts of seats by its class for each aircraft model. Output the result table with next columns: aircraft_code, business_seats, economy_seats and total_seats. Sort it by aircraft_code.
Write your request in the field below and click the "Check it!" button.
Use PostgreSQL syntax to write your answer. Descriptions of tables are provided at the bottom of the screen.
ER diagram of the Bookings database