Question: SHOW SQL CODE WITH OUTPUT Question 1: 11. Consider the following table Employee Empno Name Deptno Basic Hra Deduction Tax a. Get the number of

SHOW SQL CODE WITH OUTPUT

SHOW SQL CODE WITH OUTPUT Question 1: 11. Consider the following table

Question 1: 11. Consider the following table Employee Empno Name Deptno Basic Hra Deduction Tax a. Get the number of rows in the employee table. b. Find the total pay for all the employees in the department 1 whose basic pay is greater than 6000. Write a procedure emp_basic_detail to display average salary, total number of employees, and total salaryfor a department in the employee table. Get department no as input. c. Note: Calculate the pay=(Basic+Hra-Deduction-Tax)

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!