
π Education Β· Database ERD
A database design for a school or university: students, courses, enrolments, assessments and grades, with the relationships between them.
Drawing diagramβ¦
ERD for a university grades system: Student, Instructor, Course, CourseOffering (a course in a specific term taught by an instructor), Enrollment (student in an offering), Assessment (exam or assignment in an offering with a weight) and Grade (a student's marks for an assessment).
erDiagram
STUDENT ||--o{ ENROLLMENT : enrols
COURSE ||--o{ COURSE_OFFERING : "offered as"
INSTRUCTOR ||--o{ COURSE_OFFERING : teaches
COURSE_OFFERING ||--o{ ENROLLMENT : has
COURSE_OFFERING ||--o{ ASSESSMENT : includes
ASSESSMENT ||--o{ GRADE : "graded in"
STUDENT ||--o{ GRADE : receives
STUDENT {
int id PK
string roll_no
string name
string email
}
COURSE {
int id PK
string code
string title
int credits
}
INSTRUCTOR {
int id PK
string name
string department
}
COURSE_OFFERING {
int id PK
int course_id FK
int instructor_id FK
string term
}
ENROLLMENT {
int id PK
int student_id FK
int offering_id FK
date enrolled_on
}
ASSESSMENT {
int id PK
int offering_id FK
string name
decimal weight
}
GRADE {
int id PK
int student_id FK
int assessment_id FK
decimal marks
}The admission-to-enrolment journey at a college: application, document verification, merit list, fee payment and student ID.
An LMS for a university or online course provider: courses, video lessons, assignments, quizzes, grades and live classes.
How a remotely proctored online exam runs: identity check, environment scan, the timed exam with AI monitoring, and review of flagged events.
The states of a student assignment: draft, submission before or after the deadline, plagiarism check, grading, feedback and resubmission.
How live online classes are delivered to thousands of students: the teacher's stream, media servers, recording and a CDN for replays.
A university ERP: admissions, student records, fees, timetable, exams, HR and payroll, library and hostels in one system.