Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Mysql Assignment - 15: Where Quality Matters

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

INFOTECH where quality matters

MYSQL ASSIGNMENT - 15
Question. Suppose there is a table named EMPLOYEE ? Write SQL Queries as per the following table fields -
CODE , NAME, SALARY
Q1. Display code and hra of all the employees where hra (house rent allowance) is 40%of sal ?

Q2. Display name and da (dearness allowance) of all the employees where da is 31% of sal ?

Q3. Display records of those employees who are getting salary between 5000 to 10000 ?

Q4. Display code , name , salary and travelling allowance of all the employees here ta is 5% of sal ?

Q5. Display code,name,salary and gross salary of all employee where gross sal is sal+hra+da+ta ?

Q6. Display records of all the employee with thier half salary ?

Q7. Display total salary distributed to all of the employees ?

Q8. Display code and provident fund of all the employee where pf is 16% of basic salary ?

Q9. What is the maximum salary paid to into organization ?

Q10. What is the difference between highest and lowest salary paid into the organization ?

Q11. Display the records of employees who are getting five digit salary ?

Q12. Display records of those employees who are getting four digit to six digit salary ?

Q13. Display records of those employees who are not getting any salary or getting 0 amount as salary?

Q14. How many employees getting salary less then 4000 ?

Q15. Display records of all the employees with thier net salary if net salary is gross salary- provident fund ?

FIRST FLOOR, OPPOSITE BANK OF BARODA


AJMER RO AD, KISHANGARH (RAJ) 305801 CALL:+91-98291-71122
EMAIL:in fotechcomputer@gmail.com | WEBSITE:ww w.infotechcomputer .in

You might also like