Critically analyse and modify an existing database design

Assignment Help Database Management System
Reference no: EM131659955

Query and update databases using SQL Value:

Task Instructions

Use MySQL software to complete this assignment.

Follow the instructions on 'how to import a database into MySQL': your teacher will also demonstrate this during class.

Use this (imported) database 'assignment5' to complete your assignment using MySQL.

A choice of another software may be possible after consultation with your teacher. Write SQL statements to answer the following questions from the 'assignment5' database file.

Show sums of line totals for each invoice. Locate the record in the vendor table that does not have a value for the attribute V_STATE Find the customers whose balance is greater than 200 but less than 300.

Using natural join and having, list the customers whose invoice total is greater than 200 Show the names of the customers for whom we have invoices. Using natural join and having, list the customers whose invoice total is greater than the average Show the names of the customers for whom we DO NOT have invoices.

Using natural join and having, list the customers whose invoice total is the maximum. List the first name and last name of the customers and how many times a customer has generated an invoice.

List all purchases by customer 10018. List the names of the vendors who provided products. Using inner join, list the details of the products which sold more than 10 units.

You are required to submit:

The SQL statements for each query, which should be copied from your MySQL Workbench and pasted into your submission file. The screenshots of the results of the SQL statements which are to be copied from your MySQL Workbench and pasted into your submission file immediately after you execute the SQL query.

The screenshots of the results of the SQL statements which are to be copied from your SQLite3 Command Line and pasted into your submission file immediately after you execute the SQL query. If you used an output file please submit only the output file.

Rationale This assessment aligns with the following subject outcomes: be able to critically analyse and modify an existing database design to meet new business requirements.

The marking criteria for this assignment is: Criteria HD DI CR PS be able to critically analyse and modify an existing database design to meet new business requirements; SQL syntax returns all attributes that meet the business requirement from the tables that hold the data and applies the correct restrictions to retrieve the required information.

SQL syntax returns all attributes that meet the business requirement from the tables that hold the data with minor omissions and applies appropriate restrictions to retrieve the required information.

SQL syntax returns key attributes that meet the business requirement from the tables that hold the data and applies relevant restrictions to retrieve the required information.

SQL syntax returns key attributes that meet the business requirement from the tables that hold the data but the restrictions applied to retrieve the required information contain minor errors.

Requirements Either submit your assignment as a PDF or a Word document.

Reference no: EM131659955

Questions Cloud

Conduct a swot analysis related to care of the elderly : Conduct a SWOT analysis related to care of the elderly. From a customer's point of view, are the strengths greater than the weaknesses
Reduce the risk of injury from firearms : In order to reduce the risk of injury from firearms, all family members should be knowledgeable about gun safety especially children and adolescents.
Who is liable to pay the outstanding rent and electricity : BUSN 1019 Law for Business Assignment - Business Organisations Legal Issue Report. Who is liable to pay the outstanding rent and electricity
Scope of borrowed theories application nursing profession : Analyze theories from nursing and relevant fields with respect to their components
Critically analyse and modify an existing database design : Find the customers whose balance is greater than 200 but less than 300 - Critically analyse and modify an existing database design
Kind of data warehouse is created separately : Which kind of data warehouse is created separately from the enterprise data warehouse by a department & not reliant on it for updates?
Store and retrieve files within folders : Often in courses you will need to store and retrieve files within folders. What is the name of the FOLDER in which the file named "script" is contained?
Common feature of leadership research : Which of the following is not a common feature of leadership research
What are the potential costs of adopting a free trade regime : What are the potential costs of adopting a free trade regime? Do you think governments should do anything to reduce these costs? What?

Reviews

len1659955

9/27/2017 1:58:22 AM

Requirements Either submit your assignment as a PDF or a Word document. Don't use any other file formats. Please include your student ID, name and subject code in your submission. Submission Method: Turnitin. Details will be provided by the lecturer during the session. COST IN AUD PLZZZ

Write a Review

Database Management System Questions & Answers

  Create a gantt chart illustrating the project tasks

Write clearly and concisely about Systems Analysis and Development topics using proper writing mechanics and technical style conventions.

  Creating a database design in visio

Creating a Database Design in Visio-  Create a database diagram with the entities and attributes that the scenario identified (i.e., a college tracking students, courses, and instructors)

  Explain user activity monitoring

In this lab, you will save user activity data in a database. A record of each user's IP address and the current date and time will be created whenever a user visits the Personnel form.

  Show what makes database connectivity so complex

Show what makes database connectivity so complex and what could be done to simplify it - Add in your discussion why it is utilized despite its complexity.

  Identify user groups and how to locate information

Identify user groups and how to locate information. Demonstrate how to add and remove users and groups. Assign database permissions to users in groups.

  List units on hand for each book in given branch number

List the book code, book title, and units on hand for each book in branch number 3.

  How do you create an index

How do you create a unique index? What is the difference between an index and a unique index?

  Explain a sql server deadlock

Explain a SQL Server deadlock. Which of the following statements is true concerning subqueries? A correlated subquery is where the outer query depends on data from the inner query.

  Create an instance function in the inventorymanager

Create an instance function in the InventoryManager class called getDatabaseConnection. This function should

  Design a database for the scenario

CSG1207 - CSI5135 Systems and Database Design - Your first task is to design a database for the scenario detailed on the following pages. Your final database design should comprise of approximately 10 entities.

  What are some faster ways to accomplish data collection

Data collection takes a lot of time. Therefore, it is not worth the time and trouble. What do you think? What are some faster ways to accomplish data collection

  Write names-e-mail addresses for customers by foreign key

Illustrate all data in each of the four tables. Don't show foreign key columns. Write down the names and e-mail addresses for all customers who have had stove repair which cost more than $50.

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