Question: 16. Write the statement to drop the attribute phone from the Property table. 17. Paste the result of select from Property. 18. Write one statement

16. Write the statement to drop the attribute phone from the Property table. 17. Paste the result of select from Property. 18. Write one statement to alter the table Booking to add a column, propertyNo, which: a. is an integer representing the propertyNo for each booking b. is a foreign key to the propertyNo in the Property table c. has a default value of 1 (i.e., your previous rental that all guests were subletting). 19. Paste the result of Select * from Booking. Check out the propertyNo attribute. What happened? 20. Guest 4 would like to sublet one of your new properties, property number 2 , from June 1 , 2023 until June 30, 2023 for a price of 650 . Write the insert statement. 21. Paste the results of a select from Booking. 22. Write another insert statement to insert a DIFFERENT date for guest 4 to rent a new property. But this time for a property number which does not exist in the Property table. 23. What error did you receive? Paste the error
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
