Question: Write an SQL for the Schema below and primary key and foreign keys must be defined and Define attributes, data types, constraints e . g
Write an SQL for the Schema below and primary key and foreign keys must be defined and Define attributes, data types, constraints eg NOT NULL UNIQUE?
Feedback
tablefeedbackidrating,comment,reservationid
Guests
guestid
phone num
address
email
name
Reservations
tablereservationidcheckindate,Checkoutdate,guestidBillid
Invoice
billid
Rooms
roomid
Hotel
Hotel
tablehotelidhotellocation,hoteladdress
Employees
empid
Paymentmethod
amount
date
guestid
Fills
Makes
Suite
tableroomidroomnum,roomstatus,floornum,CarParkingSpot
SingleRoom
tableroomidroomstatus,roomnum,floornum
Deluxe room
tableroomidroomnum,roomstatus,floornum
Receptionist
empid
Maintenance
Admin
SuperemplD
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
