Question
Write a query which will retrieve the values of salesman id of all salesmen getting orders from the customers in orders table without any
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...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Concepts of Database Management
Authors: Philip J. Pratt, Mary Z. Last
8th edition
1285427106, 978-1285427102
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App