In
Class Lab Assignment #5
AIRPORT DB:
airport(airport, aname, checkin,
resvtns, flightinfo),
route(routeno, rdescription),
fares(faretype, fdescription,
conditions),
tariff(routeno, faretype, price),
aircraft(aircrafttype, adescription,
seatcapacity),
flight(flightno, fromairport,
toairport, deptime, arrtime, service, aircraftype, routeno),
passenger(pid, name, address, telno),
ticket(ticketno, ticketdate, pid),
itinerary(ticketno, flightno, legno,
flightdate, faretype)
ACTIVITIES:
- Create a View that lists the name and telephone of passengers and
their ticket numbers (for those passengers with a ticket)
- Update table tariff by reducing all prices to 85% of its original
amount.
- Delete all passengers without a ticket
- Create a trigger that displays a warning when inserting a
passenger with "666" anywhere in his/her address.