Skip to content

itsrachitjain/Inventory-Optimization-Demand-Analysis

Repository files navigation

📌 Project Overview

This project focuses on analyzing inventory, sales, supplier performance, and demand trends using PostgreSQL (SQL-based analytics).

The objective was to identify stock inefficiencies, demand patterns, and operational risks using structured querying and relational database design.

Dataset Size: 250,000+ SKU-level transactional records

🛠 Tech Stack

PostgreSQL Advanced SQL pgAdmin (Graph Visualizer) Excel (data validation support)

🗂 Database Schema

The database consists of 8 relational tables: Customers Products Suppliers Warehouses Inventory Sales Purchase Orders Sales Returns

Implemented: Primary Keys Foreign Keys Referential Integrity Data Validation Checks

🧹 Data Cleaning & Validation

Performed comprehensive validation including: Negative stock detection Duplicate inventory entries Zero/negative revenue transactions Invalid supplier lead times Pricing inconsistencies Future-dated returns Missing customer attributes Ensured high data reliability before analysis.

📊 Business Analysis Performed

1️⃣ Demand Analysis

Identified top-selling products Monthly seasonal demand trends Demand aggregation by customer type

2️⃣ Inventory Optimization

Calculated stock usage & average inventory Identified zero-movement stock Classified inventory as: Fast Moving Medium Moving Slow Moving Overstock Understock Optimal

3️⃣ Supplier Performance

Evaluated average lead time Categorized suppliers (Rapid / Moderate / Late)

4️⃣ Revenue & Returns Analysis

Category-level revenue performance Return reason analysis

📈 Key Insights

Identified slow-moving & dead inventory Highlighted overstock risk areas Improved reporting visibility Reduced manual tracking effort by ~40%

Connect With Me

LinkedIn: (https://www.linkedin.com/in/itsrachitjain/) GitHub: (https://github.com/itsrachitjain)

About

Developed a PostgreSQL-based analytics solution on 250K+ SKU records to identify demand trends, stock inefficiencies, and supplier performance gaps using advanced SQL and automated reporting.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors