Diagrama ER de la base de datos University
This ER diagram shows the main entities and foreign key relationships for the University database.
MariaDB University Database ERD
Entity relationship diagram for the MariaDB University database, showing sixteen base tables and their foreign key relationships.
departments
PK
department_id
FK
parent_id -> departments
FK
head_faculty_id -> faculty
name
code
level
description
faculty
PK
faculty_id
FK
department_id -> departments
first_name
last_name
email
title
students
PK
student_id
FK
department_id -> departments
first_name
last_name
email
enrollment_date
courses
PK
course_id
FK
department_id -> departments
course_code
course_name
credits
description
semesters
PK
semester_id
term
academic_year
start_date
end_date
rooms
PK
room_id
building
room_number
capacity
room_type
course_prerequisites
PK
FK
course_id -> courses
PK
FK
prerequisite_id -> courses
minimum_grade
notes
sections
PK
section_id
FK
course_id -> courses
FK
faculty_id -> faculty
FK
semester_id -> semesters
FK
room_id -> rooms
section_number
schedule
enrollments
PK
FK
student_id -> students
PK
FK
section_id -> sections
enrolled_at
status
final_grade
completed_at
scholarships
PK
scholarship_id
name
provider
amount
criteria
student_scholarships
PK
FK
student_id -> students
PK
FK
scholarship_id -> scholarships
awarded_at
amount_awarded
academic_year
research_projects
PK
project_id
FK
department_id -> departments
FK
lead_faculty_id -> faculty
title
start_date
end_date
publications
PK
FK
project_id -> research_projects
title
publication_year
doi
citation_count
project_members
PK
FK
project_id -> research_projects
PK
FK
faculty_id -> faculty
FK
student_id -> students
role
joined_at
left_at
grade_events
PK
FK
enrollment_id -> enrollments
FK
grader_id -> faculty
event_type
score
graded_at
audit_log
PK
audit_id
table_name
record_id
operation
MariaDB University ERD
PK
Primary key
FK
Foreign key
Child table points to parent
One connector lane per foreign key
Views are omitted from this base-table ERD
head_faculty_id
department_id
department_id
department_id
course_id
faculty_id
semester_id
room_id
student_id
scholarship_id
student_id
department_id
project_id
project_id
faculty_id
student_id
enrollment_id
grader_id
parent_id