moves data from raw sources (like CSVs or ERP systems) into your warehouse. Extract : Pulling raw data into the Bronze Layer .
: dim_product , dim_customer , and dim_date provide context. 2. Laying the Foundation (SQL Table Creation) You start by defining these structures in your database.
-- Transforming and Loading: Standardizing product names to uppercase INSERT INTO dim_product (product_key, product_name, category) SELECT product_id, UPPER(p_name), category FROM raw_staging_products; Use code with caution. Copied to clipboard 4. The Final View (Analytical Querying)
: Cleaning data in the Silver Layer , such as standardizing "Yes/No" strings to booleans. Load : Inserting into the final Gold Layer tables.
: Stores metrics like price, quantity, and foreign keys.