Display the balance of the customer

Assignment Help Database Management System
Reference no: EM13812920

Part A:

1. Display the id, the description, and the total value (product quantity * product price) of each product whose product type is HW. Assign the column name TOTAL_VALUE to this calculation.

2. Display the id, the description, and the total value (product quantity * product price) of each product whose total value is greater than or equal to $4,000. Assign the column name TOTAL_VALUE to the calculation.

3. Display the id and the description for each product whose type is either SG or AP using the IN operator.

4. Determine the id and the name of each customer whose name starts with the letter "S".

Part B:

5. Display all the data in the products table. Order the display by the product description.

6. Display all the data in the products table. Order the display by product type. Within each product type, order the display by product id.

7. Determine the number of customers whose balances are less than their credit limits.

8. Display the total of the balances of all customers who are represented by sales representative 237 and whose balances are less than their credit limits.

9. Display the id, the description, and the total value of each product whose number of items is greater than the average number of items for all products. You may want to use a subquery.

10. Display the balance of the customer whose balance is the smallest.

11. Display the id, the name, and the balance of the customer with the largest balance.

12. Display the sales representative's id and the sum of the balances of all customers represented by each of these sales representatives. Group and order the display by the sales representative ids.

13. Display the sales representative's id and the sum of the balances of all customers represented by each of these sales representatives, but limit the result to those sales representatives whose sum is more than $12,000.

14. Display the ids of all products whose description is not known.

Reference no: EM13812920

Questions Cloud

How you determined the types of accommodations needed : Elaborate on how you determined the types of accommodations/modifications needed throughout your lesson activities and assessments.
The president with the best character is the : The President who lacks enthusiasm, but otherwise seeks his countrymen's love and might rise to the occasion is
Describe how e-commerce begin and what made it successful : Describe how e-commerce begin and what made it successful. As a member of an IT staff, how can you use social media to support e-commerce? You can search business websites to find good practices of using social media in e-commerce
Ethics-social responsibility in developing strategic plan : Explain the role of ethics and social responsibility in developing a strategic plan while considering stakeholder needs and agendas.
Display the balance of the customer : Display the balance of the customer whose balance is the smallest. Display the id, the name, and the balance of the customer with the largest balance
Major process flow structure : Which of the following is considered a major process flow structure? ISO audits result in certifications that are done by first, second, or third parties. Which of the following result in the best certification of a firm?
Hard logic and soft logic for establishing dependency : 1. In your own words, explain the difference between hard logic and soft logic for establishing dependency relationships in project schedules. Offer a creative example (not from the chapter) of each one.2. Explain the relationships among project deli..
What is the functional equivalent of the border : What is the functional equivalent of the border
Test the null hypothesis that the population standard deviat : In a sample of n = 15 selected from an underlying normal distribution, we obtain standard deviation s =10. Test the null hypothesis that the population standard deviation σ = 16.

Reviews

Write a Review

Database Management System Questions & Answers

  Describe research database of research including the purpose

Describe the research database or collection of research including the purpose and the subject matter it covers. Explain how the database relates to your topic of interest/question.

  Create a database for wild woods apartments

The objective is to create a database for Wild Woods Apartments that can help them organize all of their properties information into one system t help streamline some of the work both the onsite managers have to do as well as the cooperate workers

  Design a set of 3nf tables for your database scenario

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

  Write a second select statement that uses

Write a SELECT statement that returns three columns: EmailAddress, OrderID, and the order total for each customer.

  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

  Timetabling system - write an sql function

With the new UNSW timetabling system, the LIC of each course is required to specify what facilities they require in their classrooms as one of the inputs to the timetabling process. Write an SQL function to provide a list of rooms that contain a g..

  What a query execution plan

What a query execution plan? Discuss the reasons for converting SQL queries into relational algebra queries before optimization is done

  Task 1 create 3 rows of data for each table ensuring that

task 1 create 3 rows of data for each table ensuring that the referential integrity is valid.task 2 add the 30 rows of

  Write a memorandum to sam jones

Write a memorandum to Sam Jones (CIO) and present your research findings. Your memorandum should be no longer than 500 words.

  Explain what is the method that you use to store files

What is the method that you use to store files on your computer for your classes

  Determine the relationship between those areas

For this question, need data mining analysis (using k-means clustering algorithm) shows the relationship between poverty area and violent crime rate (homicide) depending on any one of the datasets attached with this assignment.

  Installing the ms-sql server on your computer

Use Hands-on Projects that are in the back of your Chapter to introduce you to the Microsoft SQL Server 2008.

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