English, asked by gauravpatelguru2606, 2 months ago

The COMMISSION column shows the monthly commission earned by the employee.

 

Emp_Id Dept_Id Commission

1             10           500

2             20           1000

3             10          

4             10           600

5             30           800

6             30           200

7             10          

8             20           300

                               

 

Which tasks would require subqueries or joins in order to be performed in a single

step?

Select one or more:

 a. Listing the employees who do not earn commission and who are working for department 20 in descending order of the employee ID

b. Finding the number of employees who earn a commission that is higher than the average commission of the company 

 c. Listing the employees whose annual commission is more than 6000

 d. Finding the total commission earned by the employees in department 10

 e. Listing the departments whose average commission is more that 600

f. Listing the employees who earn the same amount of commission as employee 3.​

Answers

Answered by vivekpujar359
5

Answer:

The COMMISSION column shows the monthly commission earned by the employee.

Emp_Id Dept_Id Commission

1             10           500

2             20           1000

3             10          

4             10           600

5             30           800

6             30           200

7             10          

8             20           300

Which tasks would require subqueries or joins in order to be performed in a single

step?

Select one or more:

 a. Listing the employees who do not earn commission and who are working for department 20 in descending order of the employee ID

b. Finding the number of employees who earn a commission that is higher than the average commission of the company 

 c. Listing the employees whose annual commission is more than 6000

 d. Finding the total commission earned by the employees in department 10

 e. Listing the departments whose average commission is more that 600

f. Listing the employees who earn the same amount of commission as employee 3.

Similar questions