Question: Please use the tables in the flights database. Your deliverable should include the SQL queries that you write in support of your conclusions. 1. Show
Please use the tables in the flights database. Your deliverable should include the SQL queries that you write in support of your conclusions. 1. Show the total number of flights. 2. Show the total number of flights by airline (carrier). 3. Show all of the airlines, ordered by number of flights in descending order. 4. Show only the top 5 airlines, by number of flights, ordered by number of flights in descending order. 5. Show only the top 5 airlines, by number of flights of distance 1,000 miles or greater, ordered by number of flights in descending order. 6. Create a question that (a) uses data from the flights database, and (b) requires aggregation to answer it, and write down both the question, and the query that answers the question.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
