Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Refer to : http://richardtwatson.com/dm6e/images/general/ClassicModels.png Can anyone help me out with these sql query? a. Write a query to list the customer names, the number of

Refer to : http://richardtwatson.com/dm6e/images/general/ClassicModels.png

Can anyone help me out with these sql query?

a. Write a query to list the customer names, the number of orders whose status is In Process and the number of products in those orders.

c. Write a query to list the different offices (their address), count of the number of employees at that office and the number of orders that employees at that office were sales representatives for.

d. Write a query to list the names (last name and first name) and extension of employees who report to individuals who have the same job title.

e. Write a query to display the name (last name and first name) of the employee and the amount of business he has generated (i.e. how many dollars worth of product has an employee sold). Order the results in descending value of dollars worth of products sold.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 10g Insider Solutions

Authors: Arun R. Kumar, John Kanagaraj, Richard Stroupe

1st Edition

0672327910, 978-0672327919

More Books

Students also viewed these Databases questions

Question

What is liquidation ?

Answered: 1 week ago

Question

Explain the different types of Mergers.

Answered: 1 week ago

Question

What is dividend payout ratio ?

Answered: 1 week ago

Question

=+free to pirate employees from competitors?

Answered: 1 week ago