Here are two versions of an ERD for marks database.
a) Consider a database used to record the marks that students get in different exams of different course offerings. This E-R diagram models exams as entities, and uses a ternary relationship, for the above database.
B) This is an alternative ER diagram (ERD) that uses only a binary relationship between students and course-offerings. Make sure that only one relationship exists between a particular student and course-offering pair, yet you can represent the marks that a student gets in different exams of a course offering.
Posted by: Shalonda Moran