Instructions:
Figure 1: ERD Course Management System |
- Go follow the instructions and walk through from the links in the objectives. After that complete the exercise below:
- Create a database using MySQL/MariaDB console with your Matric No as database name.
- Based on the Entity Relationship Diagram (ERD) in Figure 1. Create all the tables in the ERD with your Matric No as prefix for each table. For example, if your Matric no is "123456", then the table name for table Lecturer should be "123456_Lecturer".
- Add a column called "Department" with datatype "VARCHAR(12)" to the table "Lecturer". Shows the metadata of the updated "Lecturer" table.
- Drop the "Department" column from the table "Lecturer", and show the metadata of the updated "Lecturer" table.