Question: Execute the transactions below to modify/add to the data entered in the previous step (COMMIT the transactions if not automatically committed). Print the statements and
Execute the transactions below to modify/add to the data entered in the previous step (COMMIT the transactions if not automatically committed). Print the statements and output for each transaction before proceeding to Step IV:
Customer table
Change the phone number of Customer 85 to ?2145551234?
Add Customer 120 (Amanda Green, no phone number)
Reservation table
Change the checkout date for reservation 1001 to 2/8/2018
Add a reservation:
| ResID | CheckIn | CheckOut | CustID | AgentID |
| 1011 | 3/1/2018 | 3/4/2018 | 120 | 14 |
ResDetail table:
Change the RateCode of ResID 1003 to C
Change the RateAmt of ResID 1003 to $89
Add the following details for reservation 1011:
| RoomNum | RateType | Rate |
| 224 | W | $119 |
| 225 | W | $129 |

CustType CustType CustTypeDesc AgentType AgentType AgentTypeDesc 18 81 Customer CustID CustName CustName CustPhone CustType Loyalty D Agent AgentID AgentName Agent Name AgentType 18 18 Reservation ResiD CheckinDate Check Out Date CustID AgentiD RateType RateType RateTypeDesc 18 8 ResDetail ResID RoomNum RateType RateAmt RoomType RoomType RoomTypeDesc 181 Room RoomNum RoomType
Step by Step Solution
3.33 Rating (153 Votes )
There are 3 Steps involved in it
To address the given tasks youll need to execute a series of SQL transactions Heres how you can impl... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
609075f2ebef3_21722.pdf
180 KBs PDF File
609075f2ebef3_21722.docx
120 KBs Word File
