How to update salary of employees department wise?
Answer Posted / ajit nayak
update emp
set sal = case Deptno when 10 then 1000
when 20 then 2000
when 30 then 3000
else 0
end;
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is multiple partition?
What is a record in pl/sql?
What is not null in sql?
What is a full join?
Why triggers are used?
How do I partition a table in sql?
what is the use of set statement in tsql? : Transact sql
What is the trigger in sql?
How do I find duplicates in a single column in sql?
how would concatenate strings in mysql? : Sql dba
How long will it take to learn pl sql?
How do you copy a table in sql?
What is difference between hql and sql?
Is time a data type in sql?
Is sqlite good enough for production?