Lab 1 (DBMS)
Lab 1 (DBMS)
Lab 1 (DBMS)
d. Calculate allowance as 15% of basic salary (bsal) for all the employees.
e. Calculate d_allow as 10% of bsal for the employees who are appointed as DIRECTOR
OR MANAGER.
f. Calculate gross salary as sum of bsal, allow and d_allow.
g. Calculate tax as 5% of gross for those who use to draw gross salary above 60000.
h. Calculate net as the difference between gross and tax.
i. Display all the salary details of employees along with their empid, name and post.
j. Display all employees who are appointed as either DIRECTOR, or MANAGER or
OFFICER with their id, name, post and net salary.
k. Display all the employee’s net salary along with their name and post in the order of
department.
5. Conclusion (h)
[Note: every printed document should contain header Containing Lab report on
Database Management System and Footer containing Prepare by: Your name. In point 4
every question must have printed output]
Goldengate International College
Battisputali, Kathmandu
Lab Report
Database Management System
Section:
Date: