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 sp_helptext?
explain access control lists. : Sql dba
What is the difference between cross join and natural join?
What is group function in sql?
Is inner join faster than left join?
Write a program that shows the usage of while loop to calculate the average of user entered numbers and entry of more numbers are stopped by entering number 0?
What is multiple columns?
How much does a sql dba make? : SQL DBA
What is scope of pl sql developer in future?
Is sql dba a good career? : SQL DBA
How delete all data from table in sql?
How do you add a column to a table?
What is the largest value that can be stored in a byte data field?
What is database white box testing and black box testing?
What are analytical functions in sql?