This repository contains SQL scripts developed to perform various analyses on an airport dataset using MySQL. The tasks accomplished in these scripts include:
Calculate the difference between the total number of airport entries and the number of distinct airport entries in the dataset.
Query the two airports with the shortest and longest names, along with their respective name lengths (i.e., the number of characters). If there are multiple airports with the smallest or largest names, the one that comes first alphabetically is selected.
Generate a list of airport names that start with a vowel (A, E, I, O, U). The list is filtered to avoid duplicates.
Compute the average distance between all pairs of airports based on their latitude and longitude coordinates. The distance calculation involves computing the distance between each pair of airports and then averaging these distances.
- Languages: SQL
- Database: MySQL
- Tools: MySQL Workbench, Git, GitHub
- Data Engineering
- SQL Queries
- MySQL Database Management
- Geographic Data Analysis
- Clone this repository to your local machine.
- Import the airport dataset into your MySQL database.
- Execute the SQL scripts provided to perform the analyses.
- Review the results in MySQL Workbench or any other SQL client.