Question: Question 1 . [ 1 3 MARKs ] Consider the following schema for a hair salon. Relations Clients ( ) name, phone ) . CID
Question MARKs
Consider the following schema for a hair salon.
Relations
Clients name, phone
CID is the ID of a client, name and phone are their name and phone number.
StaffSID name
SID is the ID of a staff member and name is their name.
AppointmentsCID date, time, service, SID
CID is the ID of the client whose appointment it is date and time indicate when the appointment
happens, service is the name of the service they have at this appointment, and SID is the ID of the
staff member providing the service for this apppointment.
Integrity Constraints
AppointmentsCID sube ClientsCID
AppointmentsSID sube StaffSID
Recall that no nulls are permitted in the relational model.
Part a MARKS
Create an ER diagram that represents this data well.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
