Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. Write a query using the implicit join syntax (the WHERE clause) to display the office id, office city, sales rep name, and quota for

3. Write a query using the implicit join syntax (the WHERE clause) to display the office id, office city, sales rep name, and quota for all sales reps with a quota that has not been met yet

4. Write the same join statement as number 3 except use the USING syntax and show all reps who have met their quota.

5. Write a query to display the sales rep name, order id, order date, order quantity, product description for any type of Pump. Be sure you look at the data to determine how to write the WHERE clause. Use the implicit Join syntax.

6. Write a query using the explicit join syntax that displays the Office ID, city, and Product descriptions of products that are sold by sales reps under that office. Just display those three columns.

image text in transcribed

Offices SalesReps OfficelD PK RepiD City Name Region Hire Date MgrD Quota Target Sa les Sales FK OfficelD Customers Orders CustID Products Ordid Company PK ProductiD Phone CustiD Description OrderDate CreditLimit ProductPrice ProductiD Cust ReplD Quantity On Hand ReplD QTY TotalAmt

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

More Books

Students also viewed these Databases questions

Question

LO12.6 Conduct secondary research to address a business problem.

Answered: 1 week ago

Question

differentiate the function ( x + 1 ) / ( x ^ 3 + x - 6 )

Answered: 1 week ago