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
How to make a copy values from one column to another in sql?
What normalization means?
What is a record in pl/sql?
What is the current version of postgresql?
What is partition in sql query?
How to display Row Number with Records in Oracle SQL Plus?
How does pl sql work?
What is coalesce sql?
What is memory optimized?
What are sql data types?
Explain clause in sql?
List out the acid properties and explain?
How do I find duplicates in sql?
What is lexical units in pl sql?
What is flag in sql?