Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

TIM 5 0 - Spring 2 0 2 4 Database Assignment 2 ( Due May 2 3 , 2 0 2 4 ) For this

TIM 50- Spring 2024 Database Assignment 2(Due May 23,2024)
For this assignment, download the provided CSV files from Canvas and import them to your Jupyter notebook. Follow the setup steps including creating a database engine, establishing a connection and creating a cursor.
Create a table named flights using the data in the flights-2.csv file. Similarly, create a table named aircrafts using the data in the aircrafts.csv file. Investigate that the tables have been created and data has been inserted correctly.
Generate a report showing the total number of seats for all flights arriving in SFO from LHR.
What is the aircraft that has the maximum number of seats that can arrive in SFO from London (LHR) or Frankfurt (FRA)?
What is the maximum number of passengers that can arrive in SFO on an airbus? (Hint: Airbus aircraft models include '3')
What is the number of flights each aircraft type has from LAX to SFO?
image text in transcribed

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

Students also viewed these Databases questions