How to update salary of employees department wise?
Answer Posted / manoranjan sethy
UPDATE EMP
SET SAL=DECODE (
DEPTNO,
10, SAL+SAL*0.1,
20, SAL+SAL*0.2,
30, SAL+SAL*0.3,
40, SAL+SAL*0.4,
'NA'
)
/
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is an exception in pl/sql?
Explain correlated query work?
What is your daily office routine?
What is column?
Can we perform dml in function?
What is blind sql injection?
how to install mysql? : Sql dba
what is the difference between sql and t-sql? : Transact sql
What is the use of procedures?
How do you get column names only for a table (sql server)?
What is trigger with example?
What's the procedure?
what is a control file ? : Sql dba
What is Histogram?
What is primary key and unique key?