Download presentation
Presentation is loading. Please wait.
Published byKelly Cunningham Modified over 9 years ago
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.