Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Task 1 : The StayWell Property Management team wants a list of all property addresses combined with the name of the owners. You will need
Task : The StayWell Property Management team wants a list of all property addresses combined with the name of the owners. You will need to return
three columns: the first name as FIRSTNAME, the last name as LASTNAME, and the property address as ADDRESS of the owners.
Task : StayWell's maintenance team wants to recheck the apartments that had plumbing service requests beforehand. You will need to return all the
property IDs and the addresses of the properties that had plumbing service request CATEGORYNUMBER
Task : The StayWell property management team wants to get in touch with those owners having properties larger than square feet. You need to
return all the available information of the corresponding owners to the property management team.
Task : The StayWell maintenance team wants to minimize the number of planned visits to properties. The team wants to learn all the properties that
have different planned service dates. You need to return all available data in the SERVICEREQUEST table, where requests are made for the same property
with a different NEXTSERVICEDATE.
Be sure to only show one set per row for the corresponding service request.
Task : The marketing team wants to celebrate the success of StayWell with a party. The team wants a table with the names of all residents and owners
combined into single column named PARTICIPANT. You need to combine this information from the tables and send it back to the team.
You do not need to create a new table in the database schema.
Task : The StayWell marketing team wants to send mail to all residents. You need to return the first name and surname of all the residents combined
as NAME, with their addresses named ADDRESS. However, the address should be retrieved from the PROPERTY table for residents.
Task : The development team wants to add new residents and new service requests to StayWell without checking the latest IDs and manually
incrementing it Therefore, you need to alter the RESIDENTS table and change the RESIDENTID field to an autoincremented field of type SMALLINT.
Task : The Colombia City office of StayWell indicated that there is a new tenant by the name of Yigit Yilmaz staying at the property with an ID of You
need to include this new resident in the RESIDENTS table.
Task :
The StayWell property management team wants to add two additional properties and run some simulation tests relating to market coverage. Add
following properties to the PROPERTY table:
However, the team does not want this data in the database once they complete their operations.
Complete the following:
Create a transaction with the changes rolled back.
Task : Create a transaction with the changes rolled back.
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