The following show the tables and sample data of La Trobe Airline. The PLANE and PILOT...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The following show the tables and sample data of La Trobe Airline. The PLANE and PILOT tables store the list of planes owned by the airline and the pilots working there respectively. PASSENGER table stores the information of the passenger flying with the airline. FLIGHT table stores information of the flights. This table includes information about the pilot and plane used. CITY table identifies the city where the airline flies to along with the airport information. PASSENGERFLIGHTS stores the relationship between passenger and flights. These are the ONLY tables in the airline database. NOTE: Primary Key (PK) is underlined, Foreign Key (FK) is printed in italic, PK that is also FK is underlined and printed in italic. PLANE SerialNo Capacity ABC100 150 ABC200 ABC300 ABC400 ABC500 CITY CityCode MEL ADL CBR SYD PER 150 100 200 300 NextServiceDate 04/08/2022 City Name Melbourne Adelaide Canberra Sydney Perth 05/09/2023 01/09/2023 03/08/2022 01/08/2022 State VIC SA ACT NSW WA PASSENGER Name Jamie Roberts Lily Chan Duke Gold Harry Nguyen Sonya Tavlor Airport Dese Large Medium Medium Large Medium Address Bundoorn Kew Mill Park Williamstown Camberwell PILOT PilotID P1 P1 12 12 Pa PhoneNo 95695687 95821456 96582563 93569282 95869682 PilotName Yuka Yamashita Matt Green Bernie Winston Kay Malson Cliff Marsden FLIGHT Flight No Date LAT123 01/06/2022 LAT345 01/08/2022 LAT456 01/08/2022 LAT567 01/08/2022 PASSENGERFLIGHTS Name Jamie Roberts Lily Chan Duke Gold Harry Nguyen DepTime ArrTime Origin 09:00 10:15 MEL 10:30 ADL 11:00 11:30 FlightNo LAT123 LAT123 LAT456 LAT567 12:15 12:20 MEL MEL Dest SYD PER SYD ADL Pilot No P1 12 P4 PS Serial No ABC100 ABC200 ABC 300 ABC400 Page 20 of 20 a) Write a stored procedure that receives a given date as input and prints the details of the aircraft/plane scheduled for flights on that date and separately prints those, which are not scheduled for a flight. The following show the tables and sample data of La Trobe Airline. The PLANE and PILOT tables store the list of planes owned by the airline and the pilots working there respectively. PASSENGER table stores the information of the passenger flying with the airline. FLIGHT table stores information of the flights. This table includes information about the pilot and plane used. CITY table identifies the city where the airline flies to along with the airport information. PASSENGERFLIGHTS stores the relationship between passenger and flights. These are the ONLY tables in the airline database. NOTE: Primary Key (PK) is underlined, Foreign Key (FK) is printed in italic, PK that is also FK is underlined and printed in italic. PLANE SerialNo Capacity ABC100 150 ABC200 ABC300 ABC400 ABC500 CITY CityCode MEL ADL CBR SYD PER 150 100 200 300 NextServiceDate 04/08/2022 City Name Melbourne Adelaide Canberra Sydney Perth 05/09/2023 01/09/2023 03/08/2022 01/08/2022 State VIC SA ACT NSW WA PASSENGER Name Jamie Roberts Lily Chan Duke Gold Harry Nguyen Sonya Tavlor Airport Dese Large Medium Medium Large Medium Address Bundoorn Kew Mill Park Williamstown Camberwell PILOT PilotID P1 P1 12 12 Pa PhoneNo 95695687 95821456 96582563 93569282 95869682 PilotName Yuka Yamashita Matt Green Bernie Winston Kay Malson Cliff Marsden FLIGHT Flight No Date LAT123 01/06/2022 LAT345 01/08/2022 LAT456 01/08/2022 LAT567 01/08/2022 PASSENGERFLIGHTS Name Jamie Roberts Lily Chan Duke Gold Harry Nguyen DepTime ArrTime Origin 09:00 10:15 MEL 10:30 ADL 11:00 11:30 FlightNo LAT123 LAT123 LAT456 LAT567 12:15 12:20 MEL MEL Dest SYD PER SYD ADL Pilot No P1 12 P4 PS Serial No ABC100 ABC200 ABC 300 ABC400 Page 20 of 20 a) Write a stored procedure that receives a given date as input and prints the details of the aircraft/plane scheduled for flights on that date and separately prints those, which are not scheduled for a flight. The following show the tables and sample data of La Trobe Airline. The PLANE and PILOT tables store the list of planes owned by the airline and the pilots working there respectively. PASSENGER table stores the information of the passenger flying with the airline. FLIGHT table stores information of the flights. This table includes information about the pilot and plane used. CITY table identifies the city where the airline flies to along with the airport information. PASSENGERFLIGHTS stores the relationship between passenger and flights. These are the ONLY tables in the airline database. NOTE: Primary Key (PK) is underlined, Foreign Key (FK) is printed in italic, PK that is also FK is underlined and printed in italic. PLANE SerialNo Capacity ABC100 150 ABC200 ABC300 ABC400 ABC500 CITY CityCode MEL ADL CBR SYD PER 150 100 200 300 NextServiceDate 04/08/2022 City Name Melbourne Adelaide Canberra Sydney Perth 05/09/2023 01/09/2023 03/08/2022 01/08/2022 State VIC SA ACT NSW WA PASSENGER Name Jamie Roberts Lily Chan Duke Gold Harry Nguyen Sonya Tavlor Airport Dese Large Medium Medium Large Medium Address Bundoorn Kew Mill Park Williamstown Camberwell PILOT PilotID P1 P1 12 12 Pa PhoneNo 95695687 95821456 96582563 93569282 95869682 PilotName Yuka Yamashita Matt Green Bernie Winston Kay Malson Cliff Marsden FLIGHT Flight No Date LAT123 01/06/2022 LAT345 01/08/2022 LAT456 01/08/2022 LAT567 01/08/2022 PASSENGERFLIGHTS Name Jamie Roberts Lily Chan Duke Gold Harry Nguyen DepTime ArrTime Origin 09:00 10:15 MEL 10:30 ADL 11:00 11:30 FlightNo LAT123 LAT123 LAT456 LAT567 12:15 12:20 MEL MEL Dest SYD PER SYD ADL Pilot No P1 12 P4 PS Serial No ABC100 ABC200 ABC 300 ABC400 Page 20 of 20 a) Write a stored procedure that receives a given date as input and prints the details of the aircraft/plane scheduled for flights on that date and separately prints those, which are not scheduled for a flight. The following show the tables and sample data of La Trobe Airline. The PLANE and PILOT tables store the list of planes owned by the airline and the pilots working there respectively. PASSENGER table stores the information of the passenger flying with the airline. FLIGHT table stores information of the flights. This table includes information about the pilot and plane used. CITY table identifies the city where the airline flies to along with the airport information. PASSENGERFLIGHTS stores the relationship between passenger and flights. These are the ONLY tables in the airline database. NOTE: Primary Key (PK) is underlined, Foreign Key (FK) is printed in italic, PK that is also FK is underlined and printed in italic. PLANE SerialNo Capacity ABC100 150 ABC200 ABC300 ABC400 ABC500 CITY CityCode MEL ADL CBR SYD PER 150 100 200 300 NextServiceDate 04/08/2022 City Name Melbourne Adelaide Canberra Sydney Perth 05/09/2023 01/09/2023 03/08/2022 01/08/2022 State VIC SA ACT NSW WA PASSENGER Name Jamie Roberts Lily Chan Duke Gold Harry Nguyen Sonya Tavlor Airport Dese Large Medium Medium Large Medium Address Bundoorn Kew Mill Park Williamstown Camberwell PILOT PilotID P1 P1 12 12 Pa PhoneNo 95695687 95821456 96582563 93569282 95869682 PilotName Yuka Yamashita Matt Green Bernie Winston Kay Malson Cliff Marsden FLIGHT Flight No Date LAT123 01/06/2022 LAT345 01/08/2022 LAT456 01/08/2022 LAT567 01/08/2022 PASSENGERFLIGHTS Name Jamie Roberts Lily Chan Duke Gold Harry Nguyen DepTime ArrTime Origin 09:00 10:15 MEL 10:30 ADL 11:00 11:30 FlightNo LAT123 LAT123 LAT456 LAT567 12:15 12:20 MEL MEL Dest SYD PER SYD ADL Pilot No P1 12 P4 PS Serial No ABC100 ABC200 ABC 300 ABC400 Page 20 of 20 a) Write a stored procedure that receives a given date as input and prints the details of the aircraft/plane scheduled for flights on that date and separately prints those, which are not scheduled for a flight.
Expert Answer:
Answer rating: 100% (QA)
Unfortunately without the ability to interact with a live database I am unable to write and test an ... View the full answer
Related Book For
Operations Management Processes And Supply Chains
ISBN: 9781292409863
13th Global Edition
Authors: Lee Krajewski, Naresh Malhotra, Larry Ritzman
Posted Date:
Students also viewed these databases questions
-
The value chain of Adidas has extended across the globe. Since the 1980s, the labor-intensive parts of shoe and clothing manufacturing have been moved to locations with low labor costsoften involving...
-
Working with Government documents, what is a good rule of thumb when relying on a document as being credible? Explain
-
A Go-Back-N (GBN) ARQ scheme has been designed with window-size Ws = 11 such that it is fully efficient when there are no errors on the channel. Assume that frame size is 10000 bits and the overhead...
-
Jaclyn Hargrove is the owner of six Pickwick Restaurants. For the past 10 years, she has always relied on her accountant to analyze her financial statements. Jaclyn feels that if she were able to...
-
(a) If f(x) = x5 x , find f(x). (b) Find equations of the tangent lines to the curve y = x5 x at the points (1, 2) and (4, 4). (c) Illustrate part (b) by graphing the curve and tangent lines on the...
-
Which is better Traditional Life Insurance or Variable Unit Linked Insurance? Explain.
-
A venture capitalist with a utility function \($U(x)=\sqrt{x}$\) carried out the procedure of Example 11.3. Find an analytical expression for \($C$\) as a function of \($e$,\) and for \($e$\) as a...
-
Howe and Duleys company is organized as a partnership. At the prior year- end, partnership equity totaled $150,000 ($100,000 from Howe and $50,000 from Duley). For the current year, partnership net...
-
The names of the 83 banks that were formed between 1974 and 1980 And bank failures from the '80s, their names and cause for failure
-
Joe Clark has his own Desktop Publishing business. In may you as the bookkeeper prepared a Trial Balance and then reviewed the accounts. The following items became apparent upon review of the...
-
Correct Check My Work Feedback When a company issues common (or preferred) stock for cash, you should record the total par value (Number of Shares x Par Value per Share) in the Common (or Preferred)...
-
A companys most recent free cash flow was $600 and is expected to grow at a constant rate of 4% forever. If the WACC is 10%, what is the value of operations?
-
A company expects to have FCF of $300 in 1 year, which is expected to grow at a constant rate of 3% forever. If the WACC is 11%, what is the value of operations?
-
Explain how each of the following would affect the NHLPA's bargaining position. a. Russia's Kontinental Hockey League signs a large number of NHL stars. b. A change in the tax laws increases the...
-
A company has a current value of operations of $800 million, and it holds $100 million in short-term investments. If the company has $400 million in debt and has 10 million common shares outstanding,...
-
How might the development of the NFL and MLB have been different if blacks had not been excluded from these leagues during the years that spanned World War II?
-
If short sales are not allowed, the variance of a two-asset portfolio op cannot exceed the greater of the variances of the assets: o
-
"Standard-cost procedures are particularly applicable to process-costing situations." Do you agree? Why?
-
Managers at the First Community Bank are attempting to shorten the time it takes customers with approved loan applications to get their paperwork processed. The flowchart for this process, consisting...
-
Tom Glass forecasts electrical demand for the Flatlands Public Power District (FPPD). The FPPD wants to take its Comstock power plant out of service for maintenance when demand is expected to be low....
-
Consider again the kitty litter ordering policy for Sam's Pet Hotel in Problem 13. a. Suppose that the weekly demand forecast of 90 bags is incorrect and actual demand averages only 60 bags per week....
-
The von Neumann entropy satisfies a further inequality among three systems called strong subadditivity. \({ }^{20}\) As with subadditivity, strong subadditivity is only a property of the von Neumann...
-
We had stated in this chapter that the general Rnyi entropies do not satisfy subadditivity; only the von Neumann entropy does. In Example 12.2 , we constructed an explicit counterexample for the Rnyi...
-
In our analysis of hydrogen in Chap. 9, we discussed the period of recombination, the time in the history of the universe at which protons and electrons became bound and formed neutral hydrogen. We...
Study smarter with the SolutionInn App