Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose you have the following database.Using Procedures i.e. CURSORS display Flightid, Departure and Arrival date, Departure airport city and Arrival Airport city Passenger passengerID INT

image text in transcribed

Suppose you have the following database.Using Procedures i.e. CURSORS display Flightid, Departure and Arrival date, Departure airport city and Arrival Airport city

Passenger passengerID INT firstName VARCHAR(45) lastName VARCHAR(45) email VARCHAR(45) age INT Booking ticketIDINT flightID INT seatNum VARCHAR(5) dass VARCHAR(45) passengerID INT ------ Indexes Indexes - - Airport airportID INT name VARCHAR(45) aty VARCHAR(45) country VARCHAR(45) code VARCHAR(45) - - - - Indexes Flight flightID INT departure Time TIME departureDate DATE arrival Time TIME arrivalDate DATE routeID INT - - - - , Route routeID INT airlineID INT departureAirportID INT arrivalAirportID INT Indexes Indexes Airline airlineID INT name VARCHAR(45) code VARCHAR(45) country VARCHAR(45) Indexes Pilot pilotID INT firstName VARCHAR(45) lastName VARCHAR(45) experience INT Flight_Pilot flightID INT pilotID INT ---- Indexes Indexes Passenger passengerID INT firstName VARCHAR(45) lastName VARCHAR(45) email VARCHAR(45) age INT Booking ticketIDINT flightID INT seatNum VARCHAR(5) dass VARCHAR(45) passengerID INT ------ Indexes Indexes - - Airport airportID INT name VARCHAR(45) aty VARCHAR(45) country VARCHAR(45) code VARCHAR(45) - - - - Indexes Flight flightID INT departure Time TIME departureDate DATE arrival Time TIME arrivalDate DATE routeID INT - - - - , Route routeID INT airlineID INT departureAirportID INT arrivalAirportID INT Indexes Indexes Airline airlineID INT name VARCHAR(45) code VARCHAR(45) country VARCHAR(45) Indexes Pilot pilotID INT firstName VARCHAR(45) lastName VARCHAR(45) experience INT Flight_Pilot flightID INT pilotID INT ---- Indexes Indexes

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases And Python Programming MySQL MongoDB OOP And Tkinter

Authors: R. PANNEERSELVAM

1st Edition

9357011331, 978-9357011334

More Books

Students also viewed these Databases questions

Question

What are the requirements for effective learning at work?

Answered: 1 week ago