sql-data-warehouse-project/
├── datasets/ the six source files the project loads
│ ├── source_crm/ three files from the CRM system
│ └── source_erp/ three files from the ERP system
├── docs/ the requirements, the diagrams and the notes
├── scripts/ the project scripts, in the order of the videos
│ ├── init_database.sql creates the database: run it first
│ ├── bronze/ loads the raw files
│ ├── silver/ cleans and prepares the data
│ └── gold/ builds the tables for analysis
└── tests/ checks the quality of the silver and gold data
The data architecture for this project follows Medallion Architecture Bronze, Silver, and Gold layers:

- Bronze Layer: Stores raw data as-is from the source systems. Data is ingested from CSV Files into SQL Server Database.
- Silver Layer: This layer includes data cleansing, standardization, and normalization processes to prepare data for analysis.
- Gold Layer: Houses business-ready data modeled into a star schema required for reporting and analytics.
In this project, I have:
- Design the architecture: a modern data warehouse with three layers, bronze, silver and gold.
- Build the ETL pipelines: load the source files and move the data through the layers.
- Model the data: facts and dimensions, ready for reports.
- Analyze it: answer business questions with SQL.
- MySQL Server and MySQL Workbench
- draw.io: to draw the architecture and the data model.
Develop a modern data warehouse using SQL Server to consolidate sales data, enabling analytical reporting and informed decision-making.
- Data Sources: Import data from two source systems (ERP and CRM) provided as CSV files.
- Data Quality: Cleanse and resolve data quality issues prior to analysis.
- Integration: Combine both sources into a single, user-friendly data model designed for analytical queries.
- Scope: Focus on the latest dataset only; historization of data is not required.
- Documentation: Provide clear documentation of the data model to support both business stakeholders and analytics teams.
Develop SQL-based analytics to deliver detailed insights into:
- Customer Behavior
- Product Performance
- Sales Trends
These insights empower stakeholders with key business metrics, enabling strategic decision-making.
Siddhant Bahadkar
LinkedIn | GitHub
- Code & Data: MIT License