Show sums of line units for each invoice using sql query

Assignment Help Database Management System
Reference no: EM132376017

Assessment- Query databases using SQL

Write and run SQL statements to complete the following tasks

1. Show sums of line units for each invoice.

2. Show the details of the products that do not have a value for the attribute v_code.

3. Show the details of the invoices whose subtotal is greater than 24 but less than 76.

4. Show the details of the invoice who has the minimum subtotal.

5. Show the codes and names of the vendors who supplied products.

6. Using EXCEPT show the codes of the vendors who did not supply any products.

7. Using ‘NOT IN’ show the codes and names of the vendors who did not supply any products.

8. List the names and codes of vendors and the number of products each vendor has supplied, i.e. vendor XXX has supplied xxx products, and vendor YYY has supplied yyy products etc.

9. Show the details of the employees who are located in area code 615.

10. Using inner join, list the details of the products whose line price is greater than 99.

Attachment:- SQL Assignment.rar

Reference no: EM132376017

Questions Cloud

How does he attempt to persuade and convince his audience : Frederick Douglass wrote his narrative to advance the abolitionist cause. The account of his life was meant to serve as a powerful argument against.
What motivates your team or what inspires your team : Is it more important to decipher what motivates your team or what inspires your team? How are the two different?
Explain why confidentiality is important in your role : Explain why confidentiality is important in your role as a health care professional or manager?
Define why the attack was successful : Find an article on the Internet outline a security breach or cyber-attack. Provide a link to the article, what type of attack was used, why the attack.
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.
Discuss varying perspectives and approaches : For this assignment, you'll compile a list of sources that discuss varying perspectives and approaches to the social, political, or ethical problem you choose.
Compare and contrast qualitative data vs quantitative data : Compare and contrast qualitative data vs quantitative data. Your research paper should be at least 3 pages (800 words), double-spaced, have at least 4 APA.
Identify the countermeasures that need to be implemented : In this scenario, hackers launch cyber attacks that affect several parts of the nation's financial infrastructure over the course of several weeks.
How implementing diversity and commonality could help : Create a new thread. As indicated above, discuss how the types of threats discussed in the article referenced above could impact our economy.

Reviews

Write a Review

Database Management System Questions & Answers

  Identify three characteristics associated with big data

What is the difference between projecting and joining? -  What is big data? Identify three characteristics associated with big data.

  Construct a query that will show the number of days

Construct a query that will show the number of days that exist between the first invoice and last invoice, for each month, for each employee, using the DATEDIFF function

  What is a correlated subquery

What are the three types of results that a subquery can return?

  Er diagram that you are unable to capture in the sql

ER diagram that you are unable to capture in the SQL statements and brie?y explain why you could not express them.

  Create a database with at least eight records

Create a database with at least eight records added to keep track of your favorite television shows. Each record should have at least five fields of your choice. Submit the following screen captures of your database design and functioning in a w..

  Create a sequence and a communication diagram

Create a sequence and a communication diagram for each scenario of each use case identified in the functional model. Create a behavioral state machine for each of the complex classes in the class diagram

  Define simple attributes versus composite attributes

Define Simple attributes versus Composite attributes. Design an Entity Relationship (ER) Model to represent the above requirements.

  What is special about the date or time data type

You are inputting Date/Time data type criteria for the desired fields when creating a query. What is special about the Date/Time data type? Which of the mathematical operators below is used as a comparison operator for queries in Access?

  Difference between a data warehouse and a data mart

The difference between a data warehouse and a data mart is, Which of the following is not an example of the emerging mobile computing platforms

  Create a database in sqlite using the given create statement

Create a database in SQLite using the following create statements. Create table process_list (Machine_Name text, process_name text, pid text).

  Describe the client-server architecture

Describe the client/server architecture. Explain the client role. Explain the server role. Give an example. Explain business logic and describe how it relates to a relational database.

  What information will join table together using relationship

Apply appropriate data types and consider what information will join the tables together using a relationship.

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