Skip to content

saisandeep-analytics/sql-airline-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 

Repository files navigation

SQL Airline & Retail Data Analysis

πŸ“Œ Overview This project demonstrates SQL-based data analysis using PostgreSQL on airline and retail datasets. The focus is on extracting insights using joins, aggregations, window functions, and business logic.

🎯 Key Objectives Analyze airline data (flights, bookings, tickets)

Perform retail analysis (stores, orders, products)

Apply real-world business logic using SQL

Showcase advanced SQL skills for data analysis roles

πŸ› οΈ Tools & Technologies PostgreSQL SQL

πŸ“Š Key Tasks Performed

Performed joins across multiple tables

Used GROUP BY and aggregations for analysis

Applied window functions (RANK) for ranking insights

Built Common Table Expressions (CTEs)

Derived business insights (revenue, customer spending)

Used CASE statements for categorization

πŸ“‚ Project Structure airline_analysis.sql β†’ Contains all SQL queries used in the project

πŸ” Sample Analysis

  1. Tickets without boarding passes --> Identified tickets that do not have boarding passes using LEFT JOIN.

  2. Booking date formatting --> Converted booking dates into YYYY-MM-DD format using date functions.

  3. Most popular product per store --> Used CTE + RANK() to identify top-selling products.

  4. Airport ranking --> Ranked airports based on number of departures.

  5. Revenue analysis --> Calculated total revenue generated by each store.

  6. Customer analysis --> Identified top customers based on spending.

πŸš€ Key Learnings Writing optimized SQL queries

Using window functions for advanced analysis

Handling real-world datasets

Converting raw data into meaningful insights

πŸ“Ž Author Sai Sandeep Kuchupudi , Business Intelligence Analyst

Skills: SQL | Power BI | Excel | Data Analysis

About

End-to-end SQL data analysis project using PostgreSQL covering airline and retail datasets. Demonstrates joins, aggregations, window functions (RANK), CTEs, and business-driven insights such as revenue analysis, customer spending, and ranking.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors