🛒 Zepto SQL Data Analysis Project
This project focuses on analyzing a grocery dataset inspired by Zepto using SQL.
The objective is to clean, explore, and extract meaningful business insights from raw data.
The analysis includes product categorization, pricing strategies, discount evaluation, and inventory insights.
- PostgreSQL
- SQL (Joins, Aggregations, CASE, Filtering)
- pgAdmin
The dataset contains the following key columns:
- SKU ID
- Product Name
- Category
- MRP (Maximum Retail Price)
- Discount Percentage
- Discount Selling Price
- Available Quantity
- Weight (in grams)
- Stock Availability
- Counted total number of records
- Identified null values across columns
- Explored unique product categories
- Checked stock availability (In-stock vs Out-of-stock)
- Detected duplicate product names (multiple SKUs)
- Removed products with invalid pricing (MRP = 0)
- Converted price values from paise to rupees
- Ensured consistency in numerical columns
- Identified top 10 products with highest discount percentages
- Found products with high MRP but currently unavailable
- Estimated total revenue per category using:
- Selling price × available quantity
- Identified expensive products with low discount (<10%)
- Found top 5 categories offering highest average discounts
- Calculated price per gram for better value comparison
Products were grouped into:
- Low (<1000g)
- Medium (<5000g)
- Bulk (>5000g)
- Calculated total inventory weight per category
- Identified highest revenue-generating categories
- Compared discount strategies across categories
- Certain categories contribute significantly to total revenue
- Bulk products dominate inventory weight
- High discounts are concentrated in specific categories
- Price-per-gram analysis helps identify best-value products
- Stock availability impacts potential revenue
📁 zepto-sql-project ┣ 📂 dataset ┣ 📂 screenshots ┣ 📜 zepto_sql.sql ┣ 📜 README.md
This project demonstrates how SQL can be used to transform raw data into actionable business insights.
It strengthened my skills in data cleaning, analysis, and real-world problem solving using SQL.
Feel free to connect with me on LinkedIn to discuss data analytics, SQL, and projects!


