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

How do I start pl sql?

995


how can we encrypt and decrypt a data present in a mysql table using mysql? : Sql dba

1238


What is the difference among union, minus and intersect?

1046


Mention what is the plv (pl/vision) package offers?

1163


How to install oracle sql developer?

1095


What are actual parameters and formal parameters?

1168


Is primary key an index?

1035


What is application trigger?

1053


What is rename command in sql?

1091


Define SQL and state the differences between SQL and other conventional programming Languages?

1261


How do you explain an index number?

1184


how to select unique records from a table? : Sql dba

1172


What are the different types of database management systems?

1036


Explain dml and ddl?

1055


Does sql support programming?

1112