Write SQL queries for the designed database which will return: -          All people on the same flight -          All planes on the same destination -          If the sum of all cargo weight on the plane is under a threshold.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

 

Write SQL queries for the designed database which will return:

-          All people on the same flight

-          All planes on the same destination

-          If the sum of all cargo weight on the plane is under a threshold.

 

Passengers
Booking
PK Pass_ID
PK BK_ID
Title
BK_seatno
First_Name
BK_Date
Last_Name
вк Time
DOB
BK_Price
Address
BK Раyment
Email_Address
BK_Status
Destination
Phone_No
FK Pass_ID
PK Des_ID
Des_Country
Des_State
Flight
Des_Zip_Code
PK FL_ID
FK NS_ID
FL_Departure_Time
FK CF_ID
FL_Departure_Date
FK Des_ID
FL_Arrival_Time
FL_Arrival_Date
FL_Route
FK BK_ID
FK Des_ID
NonStop
Connecting
FK AP_ID
PK NS_ID
PK CF_ID
FK NS_ID
Luggage
FK AP_ID
Number_of_Stop
PK LG_ID
FK CF_ID
FK Des_ID
FK Des_ID
FK Pass_ID
FK Route_ID
FK АP_ID
FK co_ID
Route
Airplane
PK Route_ID
PK AP_ID
AP_Seats
Departure_airport_ID
AP_Model
Arrival_airport_ID
Total_Distance
AP_Airline
FK Route_ID
FK AP_ID
Cargo
FK CF_ID
PK co_ID
FK NS_ID
Cargo_Weight
FK co_ID
FK AP_ID
Transcribed Image Text:Passengers Booking PK Pass_ID PK BK_ID Title BK_seatno First_Name BK_Date Last_Name вк Time DOB BK_Price Address BK Раyment Email_Address BK_Status Destination Phone_No FK Pass_ID PK Des_ID Des_Country Des_State Flight Des_Zip_Code PK FL_ID FK NS_ID FL_Departure_Time FK CF_ID FL_Departure_Date FK Des_ID FL_Arrival_Time FL_Arrival_Date FL_Route FK BK_ID FK Des_ID NonStop Connecting FK AP_ID PK NS_ID PK CF_ID FK NS_ID Luggage FK AP_ID Number_of_Stop PK LG_ID FK CF_ID FK Des_ID FK Des_ID FK Pass_ID FK Route_ID FK АP_ID FK co_ID Route Airplane PK Route_ID PK AP_ID AP_Seats Departure_airport_ID AP_Model Arrival_airport_ID Total_Distance AP_Airline FK Route_ID FK AP_ID Cargo FK CF_ID PK co_ID FK NS_ID Cargo_Weight FK co_ID FK AP_ID
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY