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

What are the different types of joins in sql?

1902


what are date and time intervals? : Sql dba

1100


Why primary key is required?

1043


What does count (*) do in sql?

1050


Is sql easier than java?

1068


What is pls integer?

1089


Does inner join return duplicate rows?

1037


which types of join is used in sql widely? : Sql dba

1028


What do you understand by pl/sql cursors?

1148


What is sql and how does it work?

1247


What are the types of dbms?

1020


What does varchar include?

991


write an sql query to find names of employee start with 'a'? : Sql dba

1085


how can we know the count/number of elements of an array? : Sql dba

1105


How can you get sql*loader to commit only at the end of the load file? : aql loader

1059