Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to update salary of employees department wise?

Answer Posted / meher.shareen

begin
update emp set sal=sal+1000
where deptno=10;
update emp set sal=sal+2000
where deptno=20;
update emp set sal=sal+3000
where deptno=30;
update emp set sal=sal+4000
where deptno=40;
end;

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of package in pl sql?

948


What is the difference between joins?

974


Is sql easier than java?

944


How do you update sql?

912


What is denormalization in a database?

991


Can a foreign key be null?

1029


What sql database should I use?

1065


How do I write a sql query in pgadmin 4?

923


Explain polymorphism in pl/sql.

1055


What is faster join or subquery?

957


what is a constraint? : Sql dba

1101


What operating systems are supported by oracle sql developer?

902


What jobs use sql?

924


how is exception handling handled in mysql? : Sql dba

1006


How do I start sql profiler?

937