Question: 3) Create a table 'Flights' with the following fields: - ID (Type INTEGER) - Aircraft ID that is unique for every flight - Name (Type

 3) Create a table 'Flights' with the following fields: - ID(Type INTEGER) - Aircraft ID that is unique for every flight -

3) Create a table 'Flights' with the following fields: - ID (Type INTEGER) - Aircraft ID that is unique for every flight - Name (Type TEXT) - Name of the Aircraft - Origin (Type TEXT) - Origin city name of the flight - Destination (Type TEXT) - Destination city name of the flight points uestion 1: Which fields in the Flights table can be used as the Primary Key? Wh 4) Input the following information in the above table: 5) Create a table 'Specification' with the following fields: - specID (Type INTEGER) - unique specification ID in the table - SeatQuantity (Type Integer) - Number of Seats in the Aircraft - Type (Type TEXT) - Type of Aircraft - ID (Type INTEGER) - corresponding Aircraft ID 6) Enter the following details in the table: \# 2 point Question 2: Display all fields of table Flights. \# 2 point Question 3: Display all fields of table Specification. \# 2 points Question 4: Write an inner join on the Flights and Specification table. Write a left join for the same. Is there a difference? \#2 points Question 5: Write a Query to find all the flights with seats greater than 100

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!