DATABASE FUNDAMENTALS
DATA WAREHOUSING AND DATA MINING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Many-to-many
|
|
One-to-one
|
|
One-to-many
|
|
All of the above.
|
Detailed explanation-1: -A star schema can have any number of dimension table s. The branches at the end of the links connecting the tables indicate a many-to-one relationship between the fact table and each dimension table.
Detailed explanation-2: -As a rule, each foreign key of the fact table must have its counterpart in a dimension table. Additionally, any table in a dimensional database that has a composite key must be a fact table. This means that every table in a dimensional database that expresses a many-to-many relationship is a fact table.
Detailed explanation-3: -The star schema separates business process data into facts, which hold the measurable, quantitative data about a business, and dimensions which are descriptive attributes related to fact data. Examples of fact data include sales price, sale quantity, and time, distance, speed and weight measurements.
Detailed explanation-4: -The Star Schema Design Pattern. A star schema consists of one fact table, and one or more dimension tables. The fact table contains information about changes. In the most basic kind of fact table, each row represents a transaction.