Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

DATABASE

MANAGEMENT
SYSTEMS

SUNIL.R

19MIS0123

Slot: L25+L26
5 QUESTION-CYCLE 2-NESTED QUERIES

1. List the airplane id, type and company name.

2. List the airline for which fare is more than 3000


3. List the airport names which are arrival ports for at least 3 flights.

4. Retrieve airport code that is greater than all airplane id of given


airplane type.
5.List the flight number that has no booking.

6. Retrieve the airline names that has at least two bookings


7. Retrieve the airport code that are only arrival and not departure port

8. Retrieve the flight numbers that arrive in all the cities of Tamilnadu.

.
9. Retrieve the country which has more than 10 airports.

10.Find the airline which has highest number of intermediate


stoppings.
11. List the flight number, the departure airport for the first leg of the
flight, and the arrival airport for the last leg of the flight.

12. List the flight numbers and weekdays of all flights or flight legs that
depart from Pune Airport (airport code „PNQ‟) and arrive in Los Angeles
International Airport (airport code „LAX‟).
13. the flight number, departure airport code, scheduled departure time,
arrival airport code, scheduled arrival time, and weekdays of all flights or
flight legs that depart from some airport in the city of Karnataka and
arrive at some airport in the city of Kerala.

14. List all fare information for flight number „CO197‟.


15.Retrieve the number of available seats for flight number „CO197‟ on
„30-nov-2016‟.

You might also like