You are on page 1of 1

New chat

Draw ER diagram for Student information system, map them to tables.

Sure, here is an ER diagram for a Student Information System:

sql Copy code

+----------------------+
| Student |
+----------------------+
| - student_id: int (PK)|
| - first_name: varchar|
| - last_name: varchar |
| - date_of_birth: date |
| - gender: varchar |
| - email: varchar |
| - phone: varchar |
| - address: varchar |
+----------------------+

+----------------------+
| Enrollment |
+----------------------+
| - enrollment_id: int (PK)|
| - student_id: int (FK)|
| - course_id: int (FK) |
| - enrollment_date: date|
| - grade: decimal |
+----------------------+

+----------------------+
| Course |
+----------------------+
| - course_id: int (PK)|
| - course_name: varchar|
| - course_description: varchar|
| - credit_hours: int |
+----------------------+
ChatGPT Feb 13 Version. Free Research Preview. Our goal is to make AI systems more natural and safe to interact with. Your
feedback will help us improve.

You might also like