Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago