Find the flno of all flights that depart from madison find


Write the following queries in Datalog and SQL3 syntax:

1. Find the flno of all flights that depart from Madison.

2. Find the flno of all flights that leave Chicago after Flight 101 arrives in Chicago and nolater than one hour after.

3. Find the flno of all flights that do not depart from Madison.

4. Find all cities reachable from Madison through a series of one or more connecting flights.

5. Find all cities reachable from Madison through a chain of one or more connecting flights,with no more than one hour spent on any connection. (That is, every connecting flightmust depart within an hour of the arrival of the previous flight in the chain.)

6. Find the shortest time to fly from Madison to Madras, using a chain of one or moreconnecting flights.

7. Find the flno of all flights that do not depart from Madison or a city that is reachable

Solution Preview :

Prepared by a verified Expert
Database Management System: Find the flno of all flights that depart from madison find
Reference No:- TGS01174353

Now Priced at $40 (50% Discount)

Recommended (91%)

Rated (4.3/5)

A

Anonymous user

4/18/2016 5:27:06 AM

Inscribe the subsequent queries in Data log and SQL3 syntax: 1. Locate the flno of all flights that depart from Madison. 2. Discover the flno of all flights that leave Chicago after Flight 101 arrives in Chicago and no later than one hour after. 3. Discover the flno of all flights that do not depart from Madison. 4. Discover all cities reachable from Madison through a series of one or more connecting flights. 5. Discover all cities reachable from Madison through a chain of one or more connecting flights, with no more than one hour spent on any connection. (That is, every connecting flight must depart inside an hour of the arrival of the previous flight in the chain.) 6. Discover the shortest time to fly from Madison to Madras, using a chain of one or more connecting flights.