Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Answer only questions, no need for the code image text in transcribed
image text in transcribed
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

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

Beginning C# 2005 Databases

Authors: Karli Watson

1st Edition

0470044063, 978-0470044063

More Books

Students also viewed these Databases questions

Question

Compare levels of resolution in conflict outcomes?

Answered: 1 week ago

Question

Strategies for Managing Conflict Conflict Outcomes?

Answered: 1 week ago