An open API service indexing awesome lists of open source software.

https://github.com/parthkumarmpatel/sql-exploratory-data-analysis

SQL EDA scripts for sales data warehouse β€” metrics, insights, and rankings from my data warehouse project.
https://github.com/parthkumarmpatel/sql-exploratory-data-analysis

data-analysis exploratory-data-analysis sql-server

Last synced: 7 months ago
JSON representation

SQL EDA scripts for sales data warehouse β€” metrics, insights, and rankings from my data warehouse project.

Awesome Lists containing this project

README

          

# πŸ“Š SQL EDA on Data Warehouse Project

This repository contains **SQL scripts** to perform **Exploratory Data Analysis (EDA)** on a **sales data warehouse**. The analysis is part of my **Data Warehouse Project**, and you can find the full project here:
πŸ‘‰ [Data Warehouse Project Link](https://github.com/parthkumarmpatel/SQL-Data-Warehouse)
πŸ‘‰ [Data Analyst Portfolio Project Link](https://github.com/parthkumarmpatel/SQL-Data-Analyst-Portfolio-)
---

## πŸš€ What’s inside

The SQL scripts help to:
- πŸ” Explore the database structure (tables, columns)
- πŸ‘₯ Profile customers (age, country, gender)
- πŸ“¦ Analyze products (categories, subcategories)
- πŸ’° Calculate key business metrics:
- Total sales and quantity sold
- Average selling price
- Total orders, products, and customers
- πŸ“ˆ Generate dimension-based reports (by country, category, gender)
- πŸ† Identify top and bottom performers:
- Top customers by revenue
- Best/worst selling products

---

## πŸ—‚ Structure

The SQL code covers:
- Database and table exploration
- Summary statistics
- Dimension-level insights
- Ranking with aggregation and window functions

---

## πŸ“Œ How to use

βœ… Run the scripts in your SQL environment (SQL Server, Snowflake, BigQuery, etc.) connected to the data warehouse.
βœ… Modify table or schema names (`Gold.fact_sales`, `Gold.dim_customers`, etc.) if needed for your environment.

---

## πŸ”— Project link

πŸ‘‰ [Data Warehouse Project Link](https://github.com/parthkumarmpatel/SQL-Data-Warehouse)

---

## πŸ’‘ Author

**Parth Patel**
Feel free to connect on [LinkedIn](https://www.linkedin.com/in/parthkumar-patel21)