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 / venkyhulk1

delete from emp where eno in
(SELECT
eno
FROM
(select eno, rank() over ( partition by dno order by
salary) rank , salary from emp) e
WHERE
e.rank=1)


vgupalli@gmail.com

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is snowflake sql?

1051


What is sql architecture?

1034


What is compilation error in pl sql?

960


What is difference between sql and excel?

1069


What is exit statement?

1000


What is the difference between explicit and implicit cursors in oracle?

1048


What is the purpose of the partition table?

1033


What is the importance of sqlcode and sqlerrm?

1329


What is the purpose of a secondary key?

941


What is the difference between a primary key and a unique key?

1044


How can you select unique records from a table?

1053


What is sql rowcount?

987


How do I view a procedure in sql?

954


what is the difference between blob and text? : Sql dba

1002


What is primary key and unique key?

1098