Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write an SQL for this schema below ? Feedback table [ [ feedback - id , rating,comment,reservation _ id ] ] Guests table
Write an SQL for this schema below
Feedback
tablefeedbackidrating,comment,reservationid
Guests
tableguestidphonenum,address,email,name
Reservations
tablereservationidcheckindate,Checkoutdate,guestidBillid
Invoice
tablebillidPaymentmethod,amount,date,guestid
Rooms
roomid
roomnum
roomstatus
floornum
guestid hotelid
Hotel
tablehotelidhotellocation,hoteladdress
Employees
tableempidaddress,salary,hotelid
Fills
tablefeedbackidguestid
Makes
tableguestidreseryationid
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started