← Back to Projects

Retail Sales Analysis (SQL)

SQL Server EDA Business Analysis

Problem Statement

Retail businesses generate large volumes of transactional data, but without structured analysis, it becomes difficult to extract meaningful insights.

This project focuses on analyzing sales performance, customer behavior, and operational trends using SQL to support data-driven decision making.

Dataset & Structure

The dataset consists of transactional retail data including customer demographics, product categories, and sales values.

CREATE TABLE retail_sales ( transactions_id INT PRIMARY KEY, sale_date DATE, sale_time TIME, customer_id INT, gender VARCHAR(10), age INT, category VARCHAR(35), quantity INT, price_per_unit FLOAT, cogs FLOAT, total_sale FLOAT );

Data Cleaning

Ensured data quality by identifying and removing records with missing values across key fields.

Removed 3 records with NULL values to maintain data consistency and accuracy.

Key Analysis Performed

Sales Performance Analysis

Customer Analysis

Operational Insights

SQL Techniques Used

Key Insights

Certain product categories consistently drive higher sales volume.
A small group of customers contributes disproportionately to total revenue.
Sales activity peaks during specific times of the day, indicating operational optimization opportunities.

Business Implications

The analysis provides a foundation for:

Future Enhancements

View Full SQL Project on GitHub