Get your Assignment in a Minimum of 3 hours
Our academic experts are ready and waiting to assist with any writing project you may have. From simple essay plans, through to full dissertations, you can guarantee we have a service perfectly matched to your needs.
For tasks, 4-24, make sure to insert data that satisfy the criteria before executing them.
Task # Task Description
Task 1 Create a schema called “BuildingGo” and then write DDL queries to create the three tables with relevant keys as suggested in the above diagram and the sample data shown in the tables.
Task 2 Write queries to insert 5 records into Owner and Building each.
Task 3 Write queries to insert 10 records into the Apartment table.
Task 4 Write a query to display all the information about the buildings in the Building table.
Task 5 Write a query to display the building names of all buildings in the Building table.
Task 6 Write a query to display all the building names and their capacity.
Task 7 Write a query to update the Building_Capacity of ‘Lilly Pilly’ to 2000 people.
Make sure to insert some data that satisfy the criteria before executing the query.
Task 8 Write a query to display the Building_ID and Building_Name of all the buildings with a capacity of above 3000 people.
Task 9 Write a query to increase the rent of all apartments by 2% for all the apartments of Ocean Blue.
Task 10 Write a query to display all the details of the apartments owned by Owner_ID ‘2003’.
Task 11 Write a query to display all the unique Building_Locations.
Task 12 Write a query to display Building_Name and Built_Year for all buildings built in 2001.
Task 13 Write a query to display the list of all the Builidng_Names with Buiding_capacity in the range of 1000 – 2000 people in descending order.
Task 14 Write a query to display the total number of apartments in the Apartment table.
Task 15 Write a query to display the Owner_ID and the total number of apartments owned by each owner in ascending order.
Task 16 Write a query to delete the record of the owners whose Owner_Fname contains the word ‘James’.
Task 17 Write a query to display all the apartments owned by the Owner ‘Hazel’ as the Owner_Fname.
Task 18 Write a query to display all the apartment details and their corresponding Building_Names.
Task 19 Write a query to display all the apartment details in Building ‘Ocean Blue’.
Task 20 Write a query to display all the building names having more than 5 apartments along with total count of apartments for each building displayed.
Task 21 Write a query to display Owner_ID and Owner_Fname of all the owners who do not own any apartments.
Task 22 Write a query to display the building name, which has the apartment with the lowest weekly rent.
Task 23 Write a query to display all the Apartment_IDs, Apartment_Rent and their owner names of the apartments, which has a rent greater than 600 per week ordered in descending order by owner name.
Task 24 Write a query to display the details of all apartments including the Apartment_ID, Apartment_Rent, associated building name and owner details.
Submission Requirements and Instructions
This assessment comprises of TWO parts.
Requirements: Complete all the SQL tasks given in the table above. After completing the SQL tasks, you are required produce and experience/reflection report (1000 words) in a word document summarizing your experience of doing these tasks.
Submission: Your submission must composed of the following files, which must be submitted to Blackboard on or before Week 7, Thursday 23:59 (Sydney time)
1. SQL file (24 tasks) with results and outputs in a word document.
2. Experience/Reflection report.
Note: On the following day, you will receive another student’s assignment via email to review, for which you are required to write a short critique. This is explained in the following section.