STAR SCHEMA AND SNOWFLAKE SCHEMA AND THEIR DIFFERENCES.
In SQL, when designing data warehouses and business intelligence solutions, two common schema designs are used to organize fact and dimension tables:STAR SCHEMA.- One central fact table.- Multiple dimension tables connected directly to the fact table.- Each dimension table is connected to the fact table through a foreign key.- Resembles a star shape, with the fact table at the center.Example:Fact...
- 0 Comments
- 116 Views
- Share:
- 0
- 0
FACTS AND DIMENSION TABLES
In SQL, when working with data warehousing and business intelligence, two essential types of tables are used to organize and analyze data:FACT TABLES.- Contain measurable data (facts) about a business process or event.- Typically have numerical values (e.g., sales amounts, quantities, dates).- Examples: sales data, order data, customer behavior data.DIMENSION TABLES.- Contain descriptive data (att...
- 0 Comments
- 130 Views
- Share:
- 0
- 0