Question: bTask 1 : Create a table named SUMMER _ SCHOOL _ RENTALS. The table has the same structure as the PROPERTY table shown on Page
bTask : Create a table named SUMMERSCHOOLRENTALS. The table has the same structure as the PROPERTY table shown on Page except the PROPERTYID and OFFICENUM columns should use the NUMERIC data type, there should be no BDRMS column, and the MONTHLYRENT column should be changed to WEEKLYRENT.
To see the structure of the PROPERTY table, use the DESCRIBE PROPERTY; command.
Execute the command to describe the layout and characteristics of the SUMMERSCHOOLRENTALS table.
Add the following information to a single record in the SUMMERSCHOOLRENTALS table:
PROPERTYID :
OFFICENUM :
ADDRESS : Goodwin Ave,
SQRFT :
BDRMS :
FLOORS :
WEEKLYRENT :
OWNERNUM : CO
MySQL should return an error that a column does not exist. Determine which column in the above list is not in the SUMMERSCHOOLRENTALS and remove it Run the query again to add the record to the table.
Task : Determine which column in the above list is not in the SUMMERSCHOOLRENTALS and remove it Run the query again to add the record to the table.
Task : Delete the SUMMERSCHOOLRENTALS table.
Run tests for task
Task : Check that the StayWell database is back to its starting point. The StayWell database should have the six tables shown on page of this lab.
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
