Skip to content

meshvaapatel/retail-sql-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Š INVENTORY OPTIMIZATION FOR RETAIL-sql-analysis

This project is an end-to-end SQL analysis of a retail business using real-world datasets. It showcases practical SQL skills applied to demand forecasting, pricing optimization, inventory management, and performance evaluation.


πŸ“‚ Project Structure

sql-retail-analysis
β”œβ”€β”€ datasets/
β”‚   β”œβ”€β”€ demand_forecasting.csv
β”‚   β”œβ”€β”€ inventory_monitoring.csv
β”‚   β”œβ”€β”€ manager_details.csv
β”‚   β”œβ”€β”€ pricing_optimization.csv
β”‚   └── product_master.csv
β”œβ”€β”€ sql_queries.sql         -- Full set of 25 optimized SQL queries
β”œβ”€β”€ insights_summary.md     -- Business-ready insights and use cases
└── README.md               -- Project overview and explanation

πŸ“Š Key Analytical Objectives

  • Analyze demand, revenue, seasonality, and sales patterns
  • Identify low-stock, high-demand product risks
  • Compare pricing against competitors
  • Assess store and manager performance
  • Evaluate warehouse utilization efficiency
  • Analyze customer segments for revenue contribution

🧠 Insights Extracted

  • πŸ’° Total sales quantity & revenue
  • 🌦️ Seasonality-driven demand trends
  • πŸ† Top 10 best-performing products
  • ⚠️ Products at risk of stockouts
  • 🧾 Pricing vs discounts vs competitors
  • πŸ” High return-rate product flags
  • πŸ‘₯ Revenue distribution by customer segment
  • 🏬 Warehouse space utilization
  • πŸ‘¨β€πŸ’Ό Manager & store location performance

πŸ‘‰ View the full insights in insights_summary.md


πŸ› οΈ Tools Used

  • Data Cleaning & Loading: Python
  • Database: MySQL
  • Language: SQL
  • Data Source: CSV files (Kaggle-style format)
  • Platform: GitHub

πŸš€ How to Run This Project

  1. Clone the repository
  2. Import the CSV files into your MySQL environment
  3. Run the queries from sql_queries.sql
  4. Review insights and apply for business decision-making

πŸ“Ž Datasets Overview

File Description
demand_forecasting.csv Sales, price, promo, customer data
inventory_monitoring.csv Stock levels, lead time, reorder points
manager_details.csv Manager and store location mapping
pricing_optimization.csv Price, discounts, return rate, reviews
product_master.csv Category and subcategory per product

🌟 About Me

Hi, I’m Meshva Patel

A Data Analyst and aspiring Data Scientist with a passion for uncovering stories hidden in data. My journey is all about exploring how data shapes strategy, and each project helps me grow closer to that goal.

Feel free to connect with me on LinkedIn or explore more of my work on GitHub, or reach out via email at [email protected].


πŸ“Œ Tags

#SQL #DataAnalytics #RetailAnalysis #PortfolioProject #MySQL #BusinessInsights

About

An end-to-end SQL data analysis project using retail datasets to extract business insights.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published