Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Subject: Database Systems Can you please answer questions 4, 5, and 6? I will give a thumb up. Consider the following tables (Salesman and Customer,
Subject: Database Systems
Can you please answer questions 4, 5, and 6? I will give a thumb up.
Consider the following tables (Salesman and Customer, respectively). 4) Assume that the salesman's hourly salary is calculated by multiplying the salesman's commission with 100. create a view of salesmen showing their corresponding salaries. Return customer name, commission and salary.-.-9 5) Write an SQL query to find the difference between the salespeople's salaries and the average salary.--9 6) Write an SQL query to show all people involved in this business and their role (customer or salesman). Return ID, name, and role.-.9Step 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 Started