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 the command used to fetch first 5 characters of the string? : Sql dba

1684


What is the purpose of the sql select top clause?

1206


Is grant a ddl statement?

945


Why are cursors used?

1177


What are sql built in functions?

981


What is the clause we need to add in function body to return variable?

1053


What is the purpose of the partition table?

1089


What is the benefit of foreign key?

1069


What are the two parts of design view?

1066


How many types of indexes are there in sql?

1042


Is coalesce faster than isnull?

1018


How can you load multi line records? : aql loader

1125


What is mutating error in pl sql?

1066


What is dml statement?

1001


How to find 3rd highest salary of an employee from the employee table in sql?

1133