Find the number and name of each customer that currently has

Assignment Help Computer Engineering
Reference no: EM133368918

Use SQL and the TAL Distributors database (see Figure 1-2 in Chapter 1) to complete the following exercises. If directed to do so by your instructor, use the information provided with the Chapter 3 Exercises to print your output or save it to a document.

1. For each order, list the order number and order date along with the number and name of the customer that placed the order.

2. For each order placed on October 15, 2015, list the order number along with the number and name of the customer that placed the order.

3. For each order, list the order number, order date, item number, number of units ordered, and quoted price for each order line that makes up the order.

4. Use the IN operator to find the number and name of each customer that placed an order on October 15, 2015.

5. Repeat Exercise 4, but this time use the EXISTS operator in your answer.

6. Find the number and name of each customer that did not place an order on October 15, 2015.

7. For each order, list the order number, order date, item number, description, and category for each item that makes up the order.

8. Repeat Exercise 7, but this time order the rows by category and then by order number.

9. Use a subquery to find the rep number, last name, and first name of each sales rep who represents at least one customer with a credit limit of $10,000. List each sales rep only once in the results.

10. Repeat Exercise 9, but this time do not use a sub query.

11. Find the number and name of each customer that currently has an order on file for a Rocking Horse.

12. List the item number, description, and category for each pair of items that are in the same category. (For example, one such pair would be item CD33 and item DL51, because the category for both items is TOY.)

13. List the order number and order date for each order placed by the customer named
Johnson's Department Store. (Hint: To enter an apostrophe (single quotation mark) within a string of characters, type two single quotation)

14. List the order number and order date for each order that contains an order line for a Fire Engine.

15. List the order number and order date for each order that either was placed by Almondton General Store or that contains an order line for a Fire Engine.

16. List the order number and order date for each order that was placed by Almondton
General Store and that contains an order line for a Fire Engine.

17. List the order number and order date for each order that was placed by Almondton
General Store but that does not contain an order line for a Fire Engine.

18. List the item number, description, unit price, and category for each item that has a unit price greater than the unit price of every item in category GME. Use either the ALL or ANY operator in your query. (Hint: Make sure you select the correct operator.)

Reference no: EM133368918

Questions Cloud

Different meanings can cause problems for spell-checking : phonological ambiguity means that words that sound the same but have different meanings can cause problems for spell-checking tools
Which time you will sell the stock : which time you will sell the stock. You expect to be able to sell the stock for $35.00 at that time. If you want to earn an 8% return on this investment
Listening to text-compared to reading transcript : Listening to a text: use this topic to reflect on how listening to the BBC radio episode compared to reading the transcript.
How do developers decide how long a new user story : During Planning Poker, how do developers decide how long a new user story will take? Do the estimates have to be 100% accurate
Find the number and name of each customer that currently has : List the item number, description, unit price, and category for each item that has a unit price greater than the unit price of every item in category GME
How much money, in equal annual amounts, must be invested : You would like to have $5000 in savings at the end of 5 years. How much money, in equal annual amounts, must be invested at the end of each of the next five
How does achilles position change over the course : How does Achilles' position change over the course of the discussion? What does Achilles' return to battle after the death of Patrocles tell us about Achilles'
Provide a detailed description of the major hardware : Provide a detailed description of the major hardware and software components of the e-commerce company's hybrid information systems infrastructure.
What should be the stock price of rsm three years from now : What should be the stock price of RSM three years from now (right after the dividend at the time is paid)? What should be today's stock price of RSM?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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