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

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
Get step-by-step solutions from verified subject matter experts
