Question: 2) Set up a SQL database named 'myOB' in your Google Colab notebook 3) Create a table 'Flights' with the following fields: - ID (Type
2) Set up a SQL database named 'myOB' in your Google Colab notebook 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 Arrcraft - Origin (Type TEXT) - Origin cily name of the flight - Destination (Type TEXT) - Destination cily name of the fight H2 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 fieids: - speciD (Type INTEGER) - unique specification ID in the table - SeatQuantity (Type Integen) - Number of Seats in the Aircraft - Type (Type TEXT) - Type of Arcraft - ID (Type INTEGER) - corresponding Aurcrat ID 6) Enter the following details in the table
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
