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 / roopesh kumar

delete from emp where (deptno,nvl(comm,0)) in (select
deptno,min(nvl(comm,0)) from emp
group by deptno)

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is varray in pl sql?

1120


How to assign sql query results to pl sql variables?

1145


How do you break a loop in pl sql?

1100


How is a PL/SQL code compiled?

1282


What is the basic structure of an sql?

1153


What is basic structure of pl sql?

1127


Explain lock escalation? : Transact sql

1268


When you have to use a default "rollback to" savepoint of plvlog?

1249


List the ways to get the count of records in a table?

940


what are the 'mysql' command line arguments? : Sql dba

1185


The in operator may be used if you know the exact value you want to return for at least one of the columns.

1223


What is rollback?

1184


Is sql dba a good career? : SQL DBA

1045


Which query operators in sql is used for pattern matching?

1007


What do you mean by query optimization?

1047