Question: Use the ERD diagram provided to output the following table on Oracle SQL Developer using both of the following criteria... Both A & B should

Use the ERD diagram provided to output the following table on Oracle SQL Developer using both of the following criteria... Both A & B should have the same output.

 

a) Using a SUB QUERY, display the flight number, originating airport, destination airport, departure time as "Departure Time", and arrival time as "Arrival Time" for flights not departing on May 17, 2017.

 

b) Using a SET OPERATION, display the flight number, originating airport, destination airport, departure time as "Departure Time", and arrival time as "Arrival Time" for flights not departing on May 17, 2017.

1 2 3 4 56789 10 H23 H4 9 9 272 2 11 12 13 14 15 16 17 18 19 20 21 23 FL_FLIGHT_NO FL_ORIG FL_DEST Departure Flight Reservation Schema - Entity Relationship Diagram PAS ITINERARY NO PAS NAME PAS FARE NUMBER PAS 

1 2 3 4 56789 10 H23 H4 9 9 272 2 11 12 13 14 15 16 17 18 19 20 21 23 FL_FLIGHT_NO FL_ORIG | FL_DEST Departure Time LAX LAX PHX SFO PHX MSP PHX FLG SFO LAX PHX PHX DEW IAH JFK IAH PHX DTW SFO SFO PHX JFK PHX 15 PHX 40 PHX 59 SFO 60 PHX 101 FLG 102 PHX 103 MSP 104 PHX 198 LAX 298 PHX 329 LAX 400 LAX 500 IAH 501 DEW 502 IAH 503 JFK 518 SFO 521 IAH 600 PHX 604 PHX 691 SFO 723 DTW 1260 SFO 07:00 22:25 10:00 17:45 05:15 09:00 17:00 20:30 23:20 05:00 21:10 10:10 08:00 09:05 08:30 13:25 14:23 11:30 06:46 08:33 11:25 13:30 17:58 Arrival Time 07:20 22:42 11:30 18:36 06:20 13:00 19:15 21:15 01:40 05:30 23:59 12:59 08:55 10:00 12:30 15:30 16:16 13:30 07:50 09:43 13:04 16:05 19:51

Step by Step Solution

3.47 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Based on the ERD diagram and the data youve provided I will write two SQL queries for Oracle SQL Dev... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!