Write a sql query to find the number of flights in each month sorted in descending order. It should show the month name and the total number of flights for that month. Show the query and the result. b. Write a sql query to find the month that has the longest total delays. The answer should show the month and the total length of delays in minutes. c. Write a sql query to find the month that has the most frequent delays for each airline. The answer should show the airline code, the month, and the number of delays. Show the first 20 airlines. d. Write a sql query to find the top ten most frequent flights from the dataset. The answer should show the airline code, the departing airport, the arriving airport, and the number of flights.
a. Write a sql query to find the number of flights in each month sorted in descending order. It
should show the month name and the total number of flights for that month. Show the query
and the result.
b. Write a sql query to find the month that has the longest total delays. The answer should show
the month and the total length of delays in minutes.
c. Write a sql query to find the month that has the most frequent delays for each airline. The
answer should show the airline code, the month, and the number of delays. Show the first 20
airlines.
d. Write a sql query to find the top ten most frequent flights from the dataset. The answer should
show the airline code, the departing airport, the arriving airport, and the number of flights.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps