Show sums of line totals for each invoice

Assignment Help Database Management System
Reference no: EM131660310

Task Instructions - Write SQL statements to answer the following questions from the 'assignment5' database file.

1. Show sums of line totals for each invoice.

2. Locate the record in the vendor table that does not have a value for the attribute V_STATE

3. Find the customers whose balance is greater than 200 but less than 300.

4. Using natural join and having, list the customers whose invoice total is greater than 200

5. Show the names of the customers for whom we have invoices.

6. Using natural join and having, list the customers whose invoice total is greater than the average

7. Show the names of the customers for whom we DO NOT have invoices.

8. Using natural join and having, list the customers whose invoice total is the maximum.

9. List the first name and last name of the customers and how many limes a customer has generated an invoice.

10. List all purchases by customer 10018.

11. List the names of the vendors who provided products.

12. Using inner join, list the details of the products which sold more than 10 units.

You are required to submit:

1. 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 copied from your MySQL Workbench and pasted into your submission file immediately after you execute the SQL query.

2. 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. You used an output file please submit only the output file.

Attachment:- Assignment File.rar

Reference no: EM131660310

Questions Cloud

Create a healing environment : How is love, as defined by Watson, evident in this caring moment, How can the nurse creatively use self to create a healing environment
What is the purpose of a mechanic lien : The Baldwins saw the new tank sitting on the property before the work began. When WACO paid only a small portion of the cost, Duffield filed a mechanic's lien.
Determine for a list of characters : Write algorithm to determine for a list of characters whether or not it forms a palindrome (spelled the same either forward or backward).
Minimum number of gates required to construct : . What is the minimum number of gates required to construct a 5x32 decoder? What is the worst case propagateion delay for the decoder in units of gate delays?
Show sums of line totals for each invoice : Write SQL statements to answer the following questions - Show sums of line totals for each invoice. Find the customers whose balance is greater than 200
How to filed a petition in bankruptcy : James Stout, a professor of economics and business at Cornell College in Mount Vernon, Iowa, filed a petition in bankruptcy, seeking to discharge about $95,000.
Network architecture that allows users : Design a "Simple" network architecture that allows users in the untrusted domain to communicate with systems in the trusted domain employing
Computes and returns the sum of all numbers : Write static recursive function named "sum" that computes and returns the sum of all numbers from 1 to n (where n can be assumed to be is positive).
Discuss the problem-exceptions to discharge : Exceptions to Discharge. Between 1988 and 1992, Lorna Nys took out thirteen student loans, totaling about $30,000, to finance an associate of arts degree.

Reviews

len1660310

9/27/2017 3:51:12 AM

Australian student, 30% of marks are depends upon this assignment mate. 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 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 copied from your MySQL Workbench and pasted into your submission file immediately after you execute the SQL query.

len1660310

9/27/2017 3:51:01 AM

From Resources under Main Menu in Interact 2 go to Assignment 5 Folder. The 'assignment5' database file will be made available on Interact2 Resources under Assessments folder. 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 a Review

Database Management System Questions & Answers

  Describe the data warehouse application

Describe the data warehouse application you propose to work with throughout the module. Your description should be brief and relatively formal

  Describe the data breach incident of the data breach

Describe the data breach incident and the primary causes of the data breach. Assess if there are deficiencies in the regulatory requirements and whether they need to be changed, and how they need to be changed.

  Assignment 5 logical design part ii problem your e-r model

assignment 5 logical design part ii problem your e-r model from a prior week was a success assignment 2 - logical

  Find natural groupings in the data

Using R (only), explore the use of clustering to find natural groupings in the data, without using the class variable - i.e. use only the 20 numeric (input) attributes to perform the clustering

  What is the role of the project manager

Discuss why many information technology professionals may overlook project cost managment and how this might affect completing projects within budget.

  How will your team c

What steps will your team take if you need to seize any digital evidence and What documentation processes will you follow to help support any potential legal proceedings?

  Requirements for the construction of a database system

Performance Tuning (COMP 0343A) Analyse requirements for the construction of a database system based on an understanding of performance issues and Gather and analyse data for database performance and tuning.

  What stage of water watch would you put ellis in

This is REAL data. Ellis, KS is currently listed in a Stage 3 Water Emergency. Some argue that this is not reflective of the actual situation. What stage of water watch would you put Ellis in

  Briefly describe your database

You will be continuing to enhance your course project. Data is an important part of many applications, and it is now time to add data connectivity to your application

  Design a set of 3nf tables for database scenario

Draw an ER diagram for your database scenario. Design a set of 3NF tables for your database scenario.

  How sales of individual items would be entered

How a system could improve accuracy? How sales of individual items would be entered? How the database would store the data compared to the current spreadsheet method?

  Prove-leaves of binary search tree are located in bottom

Examples for small n are given bellow, where a small square box represents an unsuccessful search. Prove that leaves of any binary search tree are located in the bottom two levels.

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