How to update salary of employees department wise?
Answer Posted / 8008064637
begin
updata emp set sal=sal+1000 where deptno in(10,20,30,40);
end;
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
How does cross join work in sql?
What is self-join and what is the requirement of self-join?
Can we use views in stored procedure?
How do you add a column to a table?
What is the difference between alter trigger and drop trigger statements?
How can you know that statistics should be updated?
What are synonyms in sql?
What is the advantage of index in sql?
Is sqlexception checked or unchecked?
what are local and global variables and their differences? : Sql dba
what is dbms? : Sql dba
How do you create an update query?
The in operator may be used if you know the exact value you want to return for at least one of the columns.
What operating systems are supported by oracle sql developer?
How do you sort in sql?