Question
This is my er diagram for a hotel management system. I need help writing three procedures/functions in PL SQL. Should I make adjustments to my
This is my er diagram for a hotel management system. I need help writing three procedures/functions in PL SQL. Should I make adjustments to my er diagram? Really confused on hw to write code for these procedures/functions. Any help would be appreciated.
Make a reservation: Input parameters: Hotel, guests name, start date, end dates, room type, date of reservation, etc. Output: reservation ID . NOTE: Only one guest per reservation. However, the same guest can make multiple reservations.
Find a reservation: Input is guests name and date, hotel ID. Output is reservation ID
Cancel a reservation: Input the reservationID and mark the reservation as cancelled (do NOT delete it)
Hotels Rooms m NumberPK> Zipcode City State Phone Number Room Type Rates Room location Number of beds Customer ID
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