Skip to content

BhumikaAggwl/Sql_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Sql_project

πŸ›’ Urban Retail Co. – Inventory Management SQL Solution

Author: #[Avni Katarey] #BhumikaAggwl

Last Updated: June 2025

This project provides a comprehensive SQL-driven inventory monitoring and optimization system for Urban Retail Co., a fast-growing retail chain. The system transforms raw transactional data into actionable insights through advanced SQL queries, performance dashboards, and reporting.


πŸ“ Repository Structure

File / Folder Description
create_tables.sql Normalized schema design for stores, products, suppliers, and inventory_transactions tables
insert_data.sql Sample data insertion script to populate the schema with mock store, product, and transaction data
erd.pdf / proj_ERD.html Entity Relationship Diagram showing the schema design
urban_inventory_solution.sql πŸ“Œ Core SQL solution with analytics queries, KPIs, classification models, and forecasting
inventory_forecasting.db SQLite database containing raw transaction data from the business
README.md You're here! πŸ“˜

πŸ“Š Features & Capabilities

βœ… Inventory Analytics & Forecasting

  • Reorder point estimation
  • Stockout detection & risk classification
  • Inventory turnover and age analysis
  • Seasonal trend forecasting

βœ… Operational Dashboards

  • KPI summary per region, store, and category
  • Product movement classification (ABC analysis)
  • Supplier performance and reliability scoring

βœ… Performance Optimization

  • Actionable inventory adjustment recommendations
  • Data-driven reorder logic based on 90-day rolling trends

πŸ“Œ Use Cases

This solution is ideal for:

  • Data analysts in retail and supply chain domains
  • Inventory planners seeking automated alerts
  • BI teams looking to integrate SQL backends with dashboards (Tableau / Power BI)

πŸš€ How to Run

  1. Clone the repository:
    git clone https://github.com/BhumikaAggwl/urban-retail-sql-inventory.git
    cd urban-retail-sql-inventory
  2. Load the schema:
 sqlite3 inventory_forecasting.db < create_tables.sql

3.Insert sample data:

sqlite3 inventory_forecasting.db < insert_data.sql

4.Run the analytics queries from:

urban_inventory_solution.sql

Or open the .db file with DB Browser for SQLite and execute SQL interactively.

** πŸ“ˆ Sample Output (KPI Snapshot)

Store Stockout Rate Inventory Turnover Status
ST001 6.2% 5.4Γ— βœ… Good
ST002 11.4% 3.1Γ— ⚠ Needs Attention
ST003 18.9% 2.4Γ— πŸ”΄ Critical

##πŸ“„ License This project is for educational and demonstration purposes. For commercial usage, please seek prior permission.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages