Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2) Set up a SQL database named 'myOB' in your Google Colab notebook 3) Create a table 'Flights' with the following fields: - ID (Type

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

More Books

Students also viewed these Databases questions