SQL Queries
- Create a table EMPLOYEE having fields/columns/attributes: empid,ename,mobile , basicSal,da, hra, ma ,total,tax, net
- insert 6 records having empid,ename,mobile and basicSal.
- Now Calcuate DA @50% on basicSal for all employees
- Now Calcuate ma @30%, hra @20% on basic sal for all employees
- find out total annual salary (12 Months)
- Calculate tax @ 10% if total salary is less than 5lac else tax should be 20%
- find the net salary of all employees
- show all records
- show all records in asceding order by name.
- find out avg salary of all employees
- show record of the employee got highest total salary