Developing the sql skills in the future

Assignment Help Database Management System
Reference no: EM132678508

MIS602 Data Modelling & Database Design - Laureate International Universities

Database programming evaluation practical

Context:
The MIS602 Data Modelling & Database Design subject is designed for you to progressively add to your understanding of data and database management and its relevance with in business context. It also introduces you to some of the key features of database management system and designing database systems that will feature in later modules of this topic. In order for you to do well in this subject, it is imperative that you undertake all of the learning activities in the modules. The learning activities are presented as a way of scaffolding your learning so that you can attempt the building blocks of the assessments and be in a safe environment to fail and to learn from them. Therefore, doing your learning activities and seeking feedback from them from peers and from the learning facilitator is the single best way of preparing for doing well in this assessment.

Introduction:
You are required to create the database tables as per the ERD below, and then generate the SQL tasks given in the table.

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.

PART I
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.

PART II
Requirements: Based on the assignment you received, you are required to write a critique of approximately 500 words. Please note that your critique should provide constructive feedback highlighting the strengths and areas for improvement in the report, as well as any new knowledge gained from evaluating the authors report. You should provide feedback on overall design of the database, and fulfil the following minimum requirements:
• Comment on the overall usage of SQL statements and commands used.
• Provide constructive criticism on how the author can improve their understanding of SQL statements.
• Provide some useful readings the author may pursue to help in developing the SQL skills in the future.

Reference no: EM132678508

Questions Cloud

Provide the journal entries for fitzroy pty ltd to account : In July 2019, Fitzroy Pty Ltd, Provide the journal entries for Fitzroy Pty Ltd to account for the revenue to be received from the customer.
Provide the journal entry for brisbane pty ltd : Brisbane Pty Ltd provides consulting services, Provide the journal entry (or entries) for Brisbane Pty Ltd to recognise revenue to be received from AFL Pty Ltd.
Compute the balance of Terrace Waters : As of January 1, Terrace Waters, Capital had a credit balance of $500,000. Compute the balance of Terrace Waters, Capital as of the end of the year
Mike net profit on the call option : What was Mike's net profit on the call option? Use a minus sign to enter loss values, if any. Round your answer to the nearest dollar.
Developing the sql skills in the future : Provide some useful readings the author may pursue to help in developing the SQL skills in the future - usage of SQL statements and commands used
Determine amount of impairment loss for black jack ltd : Determine the amount of the impairment loss, and provide the journal entry necessary to recognise any impairment in the machine
Determine the bonuses of each manager : Determine if it is convenient for Green Energy to accept the offer of the independent farmer. Determine the bonuses of each manager.
Determine the cash payments made during April : During April, cash receipts totaled $248,600 and the April 30 balance was $56,770. Determine the cash payments made during April
Journalize these transactions in a two-column journal : Journalize these transactions in a two-column journal, using the appropriate number to identify the transactions. Journal entry explanations may be omitted

Reviews

Write a Review

Database Management System Questions & Answers

  Implement and query a database from a supplied er diagram

ITECH 1006 - Database Management Systems - implement and query a database from a supplied ER Diagram and Schema. You will be required to write SQL statement

  What are the emerging trends of database technology

What are suggested business applications uses of database technology?

  Questions related to normalization

Determine the steps in the development of an effective Entity Relationship Model (ERM) Diagram and determine the possible iterative steps / factors that one must consider in this process with consideration of the HR core functions and responsibili..

  Create a query that prompts for students identification

Create a query that prompts for students' identification numbers and returns their timetables for the current semester.

  Find out which data from database to archive

Find out which data from database to archive; that is, for each table, Write down whether data requires to be archived.

  Show sums of line units for each invoice using sql query

Show the codes and names of the vendors who supplied products. Using EXCEPT show the codes of the vendors who did not supply any products.

  Description of the relationship represented by scatterplot

Produce a scatterplot of Rent vs. Size (square meters of the apartment) for the rental data in rent.

  Calculate the total adults and children visitors

YOF EWS07 H1- In cells B11:E11, Create formulas in the cell range D6:E10. Calculate the total adults and children visitors as well as the adult and child admission collected.

  Create a use case diagram for osceolas operations

Use MS Visio to create a use case diagram for question 1, a selected class diagram for question 2, and a sequence diagram for question 3.

  What are functional dependencies

Multi-level index is guaranteed to have the search cost proportional to the number of levels inmulti-level index.

  Provide data for a management report

In this assignment, the software is used to provide data for a management report. The focus is not learning a software package, but the report and the data required to make the simulation

  Design a database to track the company products

Design a database to track the company's products and orders. Choose either an open-source product or a proprietary product to use, and explain your reasons for choosing it. Identify some of the characteristics of database configuration used in yo..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd