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
What is dml with example?
How does a trigger work?
what is foreign key? : Sql dba
How many aggregate functions are available there in sql?
Why do we use sql constraints?
Is sql a scripting language?
Explain what is rdbms?
explain the difference between bool, tinyint and bit. : Sql dba
what is the use of double ampersand (&&) in sql queries?
What are tables in sql?
What are the types of keys?
i have a column which may contain this kind of value: 123*67_80,12*8889_5,34*8_874 ,12*7_7 (can contain space before a comma, and this string length can be anything) now i want to split this value into two column like: column1: 123*67,12*8889,34*8,12*7 column2: 80,5,874,7 use function for this
What are the built in functions of sql?
What is denormalization in a database?
Explain the working of foreign key?