Question: Answer only questions, no need for the code 2) Set up a SQL database named 'myDB' in your Google Colab notebook. 3) Create a table

2) Set up a SQL database named 'myDB' in your Google Colab notebook. 3) Create a table 'Flights' with the following fields: - ID (Type INTEGER) - Aircraft ID that is unique for every fight - Name (Type TEXT) - Name of the Aircraft. - Origin (Type TEXT) - Origin city name of the flight - Destination (Type TEXT) - Destination cily name of the flight \#2 points Question 1: Which fields in the Flights table can be used as the Primary Key? Why? 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. Submission
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
