Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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