Skip to content

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

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors