Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a query which will retrieve the values of salesman id of all salesmen getting orders from the customers in orders table without any

image

Write a query which will retrieve the values of salesman id of all salesmen getting orders from the customers in orders table without any repeats. Sample table: orders ord_no 70001 70009 70002 70004 70007 70005 70008 purch_amt ord_date customer_id salesman__ 2012-10-05 3005 2012-09-10 3001 2012-10-05 3002 2012-08-17 3009 2012-09-10 3005 2012-07-27 3007 2012-09-10 3002 150.5 270.65 65.26 110.5 948.5 2400.6 5760 5002 5005 5001 5003 5002 5001 5001

Step by Step Solution

3.55 Rating (155 Votes )

There are 3 Steps involved in it

Step: 1

To retrieve the values of salesmanid of all salesmen gett... 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

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Programming questions

Question

=+a) Make a decision tree for these decisions.

Answered: 1 week ago

Question

How do you indicate criteria in an Access query?

Answered: 1 week ago