Hi,
I need to design part of a data model that allows me to store user selection on courses and I have become slightly stuck. Basically, I need to do a list of all available courses (can do this bit). Each course is made up of several modules (that make up a course - like a university degree with many modules studied) - that can either be compulsory or an option.
My initial thought was to ditch a table having a list of courses and have a table that lists modules. A table would link to this showing the make up of a course E.g.
Modules
*Module ID
Name
Start Date
Etc.
Courses
*Course IDCourse title
Core Module 1
Core Module 2
Option 1
Option 2
(all the options would be FKs to the Modules table)
I'm sure there must be a better way as that database currently isn't in 1NF
I'm really struggling how to design the tables for the latter, can anyone help?
Many Thanks
I need to design part of a data model that allows me to store user selection on courses and I have become slightly stuck. Basically, I need to do a list of all available courses (can do this bit). Each course is made up of several modules (that make up a course - like a university degree with many modules studied) - that can either be compulsory or an option.
My initial thought was to ditch a table having a list of courses and have a table that lists modules. A table would link to this showing the make up of a course E.g.
Modules
*Module ID
Name
Start Date
Etc.
Courses
*Course IDCourse title
Core Module 1
Core Module 2
Option 1
Option 2
(all the options would be FKs to the Modules table)
I'm sure there must be a better way as that database currently isn't in 1NF

I'm really struggling how to design the tables for the latter, can anyone help?
Many Thanks
Last edited: