I need help designing an ER diagram for a University Database system. The system should include entities such as Student, Course, Instructor, Department, Club, and Activity along with their attributes.
Each student has details like student ID, name, address, gender, birth date, degree, and department. Students can enroll in multiple courses, and each course records grades. Courses include attributes like course code, name, description, department, points, instructors, and exam date.
Instructors have attributes such as IRD number, name, address, phone numbers, gender, salary, and position. Each instructor works in one department, and each department has one manager (instructor) and multiple instructors.
Students can join multiple clubs. Clubs have attributes like name, budget, meeting day, and time, and must have members. Clubs also sponsor activities. Each activity has attributes like ID, type, date, time, and location, and is sponsored by one club.
The ER diagram should clearly show:
Entities and attributes (with primary keys underlined)
Relationships using diamonds
Cardinalities (1:1, 1:N, M:N)
Participation (total/partial using single/double lines)
I also need a properly structured explanation along with the diagram.
Leave a Reply
You must be logged in to post a comment.