Question
Write a SQL statement to show the list of distinct cities the salesmen come from.(3 marks) Write a SQL statement to showthe customer name, city
- Write a SQL statement to show the list of distinct cities the salesmen come from. (3 marks)
- Write a SQL statement to show the customer name, city and grade where the grade of a customer is greater than 100 (3 marks)
- Write a SQL statement to show city name and the number of customers from each city (3 marks)
- Write a SQL statement to show the salesman and the customers served by that salesman. (3 marks)
- Write a SQL statement to show the customer name, city name of a customer, salesman name and commission where a salesman gets more than 0.12 commission from the company. (3 marks)
F. Write a SQL statement to show the maximum grade of a customer where the city of customer is in London. (3 marks)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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 Databases 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
Question
Answered: 1 week ago
View Answer in SolutionInn App