COURSE NAME: Database 1
CODE: CS 2203-01
INSTRUCTOR: Rich Hoo
DATE: 22 / 06 / 2022
Doctor
Doc_ID Varchar/Number Unique NOT NULL
Doc_Name Text NOT NULL
Doc_PhoneNumber Number Unique NOT NULL
Speciality_Number Number -
Speciality Text -
Primary Key: Doc_ID
Degree of Relation: 5
Gives Appointments
Appointment
ID Varchar/Number Unique NOT NULL
Appointment_Date Date NOT NULL
Doc_ID Varchar/Number Unique NOT NULL
Patient_ID Varchar/Number Unique NOT NULL
BP Number NOT NULL
Pulse Number NOT NULL
Notes Varchar -
Medicines Varchar -
Primary Key: ID
Degree of Relation: 8
Takes Appointments
Patient
Patient_ID Varchar/Number Unique NOT NULL
Patient_Name Text NOT NULL
Patient_Phone Number Unique NOT NULL
Email Varchar NOT NULL
Address Varchar NOT NULL
Added_Date Date NOT NULL
Allergies Text -
Doc_ID -
Primary Key: Patient_ID
Degree of Relation: 8