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 use case expression? : Sql dba
What are the types of keys?
Is it possible to remove child records without removing master table records...the two having pk,fk relationship?
What is sql entity?
How can you load multi line records? : aql loader
Explain the difference between sql and mysql.
what is clause? : Sql dba
What is acid property in a database?
Why is sql better than hql?
What is a variable in sql?
what is text? : Sql dba
what is a relationship and what are they? : Sql dba
How do I view stored procedures?
What trigger means?
How do I install sql?