Airline Flight Delays & Aircraft Utilization
โจ Master SQL One Problem at a Time โจ
Get all CSV files to practice this challenge:
๐ฅ Download Day 19 Data3 tables: flights, aircraft, routes
Analyze flight delays, aircraft performance, and maintenance tracking for optimal airline operations.
| flight_id | aircraft_id | route_id | flight_date | delay_minutes | status |
|---|---|---|---|---|---|
| FL001 | A101 | R001 | 2024-01-15 | 0 | ON TIME |
| fl002 | A102 | r002 | 2024-01-15 | 15 | delayed |
| FL003 | A101 | R003 | 2024-01-16 | 45 | DELAYED |
| fl004 | A103 | R001 | 2024-01-16 | 0 | On Time |
...20 more rows in the download!
| aircraft_id | model | manufacturer | seat_capacity | last_maintenance |
|---|---|---|---|---|
| A101 | 737-800 | Boeing | 189 | 2024-01-10 |
| A102 | A320 | Airbus | 180 | NULL |
| A103 | 737-900 | Boeing | 220 | 2024-01-05 |
| route_id | origin | destination | distance_km |
|---|---|---|---|
| R001 | Mumbai | Delhi | 1400 |
| R002 | Delhi | Bangalore | 1740 |
| R003 | Mumbai | Bangalore | 980 |
Build airline operations analytics with data cleaning, delay calculations, and performance scoring.
๐ก Key SQL Concepts: TIMESTAMPDIFF, DATEDIFF, CASE WHEN, LEFT JOIN, CTEs, Conditional Aggregation!
Download the full challenge PDF with complete solution, explanations, and step-by-step hints!
Follow for complete solutions and all 100 challenges:
Complete solutions posted on LinkedIn โข All data on GitHub
Master airline operations data
Build delay analytics systems
Optimize aircraft utilization
Day 20 coming tomorrow!
Follow the 100 Days SQL Challenge
Master SQL one problem at a time!
Rahul Kanche --- exploring data, decoding clarity!
Created by: Rahul Kanche