How to update salary of employees department wise?
Answer Posted / k v koteswara rao
UPDATE employees SET salary=DECODE(department_id,10,salary+1000,20,salary+2000,30, salary+3000,salary);
| Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
How delete all data from table in sql?
is it possible to pass an object or table to a procedure as an argument?
How do you use collections in procedure to return the resultset?
Does varchar need length?
How can you load microsoft excel data into oracle? : aql loader
What does data normalization mean?
What is an implicit commit?
Can we use distinct and group by together?
Why do we use joins in sql?
What are all the different normalizations?
how to shutdown mysql server? : Sql dba
what is msql? : Sql dba
Explain architecture of sql server notification services?
What is a call statement? Explain with an example.
what are date and time functions in mysql? : Sql dba