{"id":29182591,"url":"https://github.com/gagan8605/zepto_sql_analysis","last_synced_at":"2025-07-16T10:31:20.343Z","repository":{"id":301182994,"uuid":"1008429927","full_name":"gagan8605/Zepto_SQL_Analysis","owner":"gagan8605","description":"This project explores and analyzes the inventory data of Zepto, a rapidly growing 10-minute grocery delivery platform in India. The dataset contains over 3,000+ SKUs across key product categories such as Fruits \u0026 Vegetables, Dairy, Beverages, Packaged Foods, and more.  The analysis was performed using PostgreSQL, covering both data cleaning and bus","archived":false,"fork":false,"pushed_at":"2025-06-25T14:52:10.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-25T15:43:42.250Z","etag":null,"topics":["cleaning-data","data-analysis","database-management","postgresql","sql"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gagan8605.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-25T14:29:11.000Z","updated_at":"2025-06-25T14:53:44.000Z","dependencies_parsed_at":"2025-06-25T15:43:43.287Z","dependency_job_id":"89dca5e0-fe32-46f4-95ac-f34353dbe4d7","html_url":"https://github.com/gagan8605/Zepto_SQL_Analysis","commit_stats":null,"previous_names":["gagan8605/zepto_sql_analysis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gagan8605/Zepto_SQL_Analysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gagan8605%2FZepto_SQL_Analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gagan8605%2FZepto_SQL_Analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gagan8605%2FZepto_SQL_Analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gagan8605%2FZepto_SQL_Analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gagan8605","download_url":"https://codeload.github.com/gagan8605/Zepto_SQL_Analysis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gagan8605%2FZepto_SQL_Analysis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263029214,"owners_count":23402354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cleaning-data","data-analysis","database-management","postgresql","sql"],"created_at":"2025-07-01T20:06:49.033Z","updated_at":"2025-07-01T20:06:50.160Z","avatar_url":"https://github.com/gagan8605.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛒 Zepto Inventory \u0026 Pricing Analysis (SQL Project)\n\nThis project involves analyzing the inventory and pricing dataset of **Zepto**, a rapidly expanding 10-minute grocery delivery service in India. The dataset includes over **3,000+ SKUs (Stock Keeping Units)** across categories like **Fruits \u0026 Vegetables, Dairy, Beverages, Packaged Foods**, and more.\n\nUsing **PostgreSQL**, we performed data cleaning, exploration, and multiple business intelligence queries to derive actionable insights about product pricing, stock levels, and category-wise trends.\n\n---\n\n## 📦 Dataset Overview\n\n- **Total SKUs**: 3,104  \n- **Columns**: `sku_id`, `category`, `name`, `mrp`, `discountPercent`, `availableQuantity`, `discountedSellPrice`, `weightInGms`, `outOfStock`, `quantity`\n\n---\n\n## 🧹 Data Cleaning \u0026 Exploration\n\n- ✅ **Null Check**: No null values found across critical columns.\n- 🔄 **Zero Price Removal**: Removed 21 SKUs with `mrp` or `discountedSellPrice` equal to 0.\n- 💱 **Unit Conversion**: Prices converted from *paise* to *rupees*.\n- 🏷️ **Unique Categories**: 11  \n- 📉 **Stock Status**:\n  - In Stock: 2,612\n  - Out of Stock: 471 (≈15.16%)\n- 🔁 **Duplicate Product Names**: 112 names mapped to multiple SKUs.\n\n---\n\n## 📊 Business Analysis Queries \u0026 Insights\n\n### 🔟 Top 10 Best Discounted Products\n- Products with up to **60%+ discounts** across personal care and packaged items.\n\n### 🚫 High MRP \u0026 Out-of-Stock Products\n- 59 products with `MRP \u003e ₹300` were unavailable.\n- Highest observed MRP: ₹999.\n\n### 💰 Estimated Revenue by Category\n\n| Category            | Revenue (₹) |\n|---------------------|-------------|\n| Packaged Foods      | 1,14,230    |\n| Beverages           | 91,890      |\n| Fruits \u0026 Vegetables | 85,140      |\n| Dairy               | 77,500      |\n| Personal Care       | 61,380      |\n\n### 🧾 Premium Products with Low Discounts\n- 48 products with `MRP \u003e ₹500` and `\u003c10%` discount, typically premium goods.\n\n### 📉 Top 5 Categories by Avg. Discount\n\n| Category          | Avg. Discount (%) |\n|-------------------|-------------------|\n| Personal Care     | 26.4              |\n| Beverages         | 23.1              |\n| Snacks            | 21.7              |\n| Cleaning Supplies | 20.9              |\n| Dairy             | 18.3              |\n\n### ⚖️ Best Value Products (₹ per gram)\n- Price efficiency calculated for products above 100g.\n- Best value product: ₹0.07/g (e.g. rice, sugar, detergent).\n\n### 🏷️ Product Weight Category\n\n| Weight Category | Count |\n|------------------|-------|\n| Low (\u003c1kg)       | 1,876 |\n| Medium (1–5kg)   | 845   |\n| Bulk (\u003e5kg)      | 215   |\n\n### 🏋️ Total Inventory Weight by Category\n\n| Category            | Total Weight (kg) |\n|---------------------|-------------------|\n| Packaged Foods      | 7,140             |\n| Fruits \u0026 Vegetables | 5,410             |\n| Dairy               | 3,860             |\n| Beverages           | 2,970             |\n| Personal Care       | 2,115             |\n\n---\n\n## 🛠 Tech Stack\n\n- **Database**: PostgreSQL 16\n- **Tools**: Git, GitHub, Git Bash\n- **Language**: SQL (PostgreSQL dialect)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgagan8605%2Fzepto_sql_analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgagan8605%2Fzepto_sql_analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgagan8605%2Fzepto_sql_analysis/lists"}