Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribedimage text in transcribed

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions