Part B: Star Schema Design

File: createStarSchema.PractII.VarmaA.R

Purpose: Creates the empty database structure (tables) for our analytics warehouse.

Analogy: Building the skeleton of a house before adding furniture. We're creating the rooms (tables) before filling them with data.


🎯 What This File Does (Step-by-Step)

Step 1: Connect to MySQL

Step 2: Clean Up Old Tables

Step 3: Create Dimension Tables

Step 4: Create Fact Table

Step 5: Create Staging Table