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...

Delete the emps whose salaries are lowest sals of their own
dept.

Answer Posted / divya chaudhry

delete from emp where (depno,nvl2(sal,sal,0)) in ( select
depno,min(nvl2(sal,sal,0)) from emp group by depno )

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is id a reserved word in sql?

1132


Are views faster than queries?

971


What will you get by the cursor attribute sql%notfound?

1040


explain about mysql and its features. : Sql dba

999


What's the difference between a primary key and a clustered index?

975


Show the two pl/sql cursor exceptions.

1161


What does sql stand for?

969


How do I edit a trigger in sql developer?

969


Are sql connections encrypted?

998


How do I get sql certification?

952


What is a sql instance vs database?

1098


Explain the working of foreign key?

1043


What is program debugging?

1212


how to create a table index in mysql? : Sql dba

1033


what is a foreign key ? : Sql dba

1062