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

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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