Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Figure 12.2 registration events in factless fact table Faculty Student Course Term Year termKey (FK) studentKey (FK) declaredMajorKey (FK) creditAttainmentKey.

Similar presentations


Presentation on theme: "1 Figure 12.2 registration events in factless fact table Faculty Student Course Term Year termKey (FK) studentKey (FK) declaredMajorKey (FK) creditAttainmentKey."— Presentation transcript:

1 1 Figure 12.2 registration events in factless fact table Faculty Student Course Term Year termKey (FK) studentKey (FK) declaredMajorKey (FK) creditAttainmentKey (FK) courseKey (FK) faculty (FK) registrationCount Registration Event Declared Major Credit Attainment One row for each registered course for each student and term Term Year must conform to the Date dimension Registration count is always 1

2 2 Figure 12.2 counting students Faculty Student Course Term Year termKey (FK) studentKey (FK) declaredMajorKey (FK) creditAttainmentKey (FK) courseKey (FK) faculty (FK) registrationCount Registration Event Declared Major Credit Attainment To count the number of registered students for some criteria: Select faculty, count(distinct …) from … where … group by faculty Or Select faculty, sum(registrationCount) from … where … group by faculty simpler?

3 3 Figure 12.2 with extended facts Faculty Student Course Term Year termKey (FK) studentKey (FK) declaredMajorKey (FK) creditAttainmentKey (FK) courseKey (FK) faculty (FK) registrationCount creditsEarned gradeEarned tuitionPaid Registration Event Declared Major Credit Attainment


Download ppt "1 Figure 12.2 registration events in factless fact table Faculty Student Course Term Year termKey (FK) studentKey (FK) declaredMajorKey (FK) creditAttainmentKey."

Similar presentations


Ads by Google