1
Reply

add the bonus based on the employee salary

Manohar Gova

Manohar Gova

Feb 17 2017 8:55 AM
212
Hi Guys,
 
i need to add the bonus amount of the employee based on employee salary in sql
 
Ex:  if Employee A is getting 10000 then i need to add 10% amount as bonus
       if Employee B is getting 20000 then i need  to add 20% amount as bonus
      if Employee C is getting 3000 then i need to add 30% amount as bonus 
 
EmpName  salary
A                  10000
B                  20000
C                  30000
D                  50000 
 F                  10000
 
A,F will get 10 % hike 
 
any sugestions 
 
Thanks in advance 
 
 
 
 
 
 

Answers (1)