Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Complete the assignment and submit via canvas. Flights Carrier CA OA AA UA HA OA Origin JFK SAF SEA JFK EWR EWR Denied Boardings
Complete the assignment and submit via canvas. Flights Carrier CA OA AA UA HA OA Origin JFK SAF SEA JFK EWR EWR Denied Boardings Db_FlightID DeniedBoarding 321 231 98 241 123 692 1 3 2 2 2 1 Destination SFO DFW JFK SFO DFW DFW Total_DB_Cost 296 987 630 422 618 200 TimeDelay 9 8 10 20 15 20 FlightID 389 321 231 98 241 123 Capacity Pax AvgFare 105 100 85 71 90 88 100 79 120 91 110 100 Based on the above tables please write the appropriate SQL query (7 pts each): Find all flights not having a denied boarding. Find denied boardings that do not correspond with a known flight. Count of denied boardings, flights, and total cost of denied boardings by origin; Find revenues minus cost of denied boardings for each carrier. 222 199 134 55 260 296
Step by Step Solution
★★★★★
3.50 Rating (170 Votes )
There are 3 Steps involved in it
Step: 1
1 Find all flights not having a denied boarding A select flights from flights left outer join den...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started