<aside>
Table of Contents
</aside>
This project presents the design and implementation of a Sales Data Warehouse based on the Medallion Architecture (Bronze → Silver → Gold).
It combines customer, product, and sales data from ERP and CRM systems into a single structure that supports analytics and business reporting.
The architecture includes three main layers:
The next diagram shows how data flows from one layer to the next during the ETL process.
The init_database.sql
script builds the DataWarehouse
database and the three schemas: bronze
, silver
, and gold
.
It first drops any existing database with the same name and then recreates it. This keeps the setup clean and repeatable.
init_database.sql
script (click arrow to reveal)