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 mutating error?

972


What are stored procedures in mysql?

1019


what is clause? : Sql dba

1066


What is a temporal data type?

1054


How insert into statements in sql?

1080


What are few of the schema objects that are created using PL/SQL?

1040


What is a pdo connection?

1045


What is cte sql?

1002


What is t sql used for?

1017


What are local and global Indexes and where they are useful.

1445


What is full join in sql?

998


What are stored procedures used for?

1003


How many functions are there in sql?

1032


How many types of triggers exist in pl/sql?

1075


Explain what is a subquery ?

1191