Question: 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.

Subject: Database Systems Can you please answer questions 4, 5, and 6?I will give a thumb up. Consider the following tables (Salesman and

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.-.9

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!