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
Can we call procedure in select statement?
Does view store data in sql?
what is error ora-03113: end-of-file on communication channel?
What is the difference between view and stored procedure?
Can we join more than 2 tables in sql?
What does where 1/2 mean in sql?
what are the 'mysql' command line options? : Sql dba
What are the advantages of sql?
What is structural independence and why is it important?
What is multiple partition?
Does sql require a server?
How to call a javascript function from pl sql?
What is the difference between alter trigger and drop trigger statements?
what are the system privileges that are required by a schema owner (user) to create a trigger on a table?
What is embedded sql with example?