This project is part of my Internshala SQL Training capstone. It demonstrates advanced SQL techniques by analyzing Walmart sales data across multiple dimensions like profitability, customer behavior, trends, and anomalies.
🔗 Project Video: Watch on Google Drive
We analyzed a Walmart sales dataset to gain insights using complex SQL queries. This project covered key aspects such as:
- Branch performance
- Profit optimization
- Customer segmentation
- Anomaly detection
- Payment preferences
- Sales trend analysis
All queries were written in MySQL using advanced features like:
- CTEs (
WITH
) - Window functions (
ROW_NUMBER
,LAG
) - Conditional logic (
CASE
) - Date formatting and manipulation
- Aggregate functions
Determine which branch has shown the highest monthly average sales growth.
Helps each branch focus on their most profitable category.
Classifies customers into LOW
, MEDIUM
, and HIGH
spenders.
Spots unusual sales using deviation from average product line sales.
Identifies preferred payment methods (e.g., Card, Cash, E-wallet) per city.
Tracks how sales differ by gender over months.
Shows product preference based on customer category (e.g., member vs. normal).
Analyzes repeat purchases within a 30-day window.
Ranks the highest-paying customers.
Identifies peak and low-performing days.
- 📌 Boost high-profit product lines per branch with targeted campaigns.
- 🎯 Personalize loyalty programs for high and medium spenders.
- 🧍♂️ Re-engage male customers in months like February (low activity).
- 🛍️ Plan staff & stock around high sales days like Saturday and Tuesday.
- 💸 Improve low-traffic days (like Monday) with special offers.
File | Description |
---|---|
SQL_PROJECT_PRESENTATION.pptx |
PowerPoint presentation of the project |
queries/ |
Folder containing .sql files for all tasks |
visuals/ |
(Optional) Screenshots or visual representations of output |
data/ |
(Optional) Sample dataset or dummy version (if shareable) |
- SQL: MySQL Workbench
- Visualization: PowerPoint, Excel (for graphs)
- Platform: Internshala Training SQL Capstone Project
If you have any questions or feedback, feel free to reach out:
- 📧 thirumalanaidu.ds2026@gmail.com
- 8074244660
This project is purely educational and not affiliated with Walmart Inc.