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 the difference between numeric and autonumber?

999


what is sql? : Sql dba

1030


What is the least restrictive isolation level? : Transact sql

1070


How to change sql*plus system settings?

1059


i have a column which may contain this kind of value: 123*67_80,12*8889_5,34*8_874 ,12*7_7 (can contain space before a comma, and this string length can be anything) now i want to split this value into two column like: column1: 123*67,12*8889,34*8,12*7 column2: 80,5,874,7 use function for this

1582


What is rank () in sql?

945


What are the string functions in sql?

980


What does t sql mean?

951


What is a natural join?

1075


Where the sql database files are stored?

1021


What problem one might face while writing log information to a data-base table in pl/sql?

1168


How do you update a value in sql?

1047


what is recursive stored procedure? : Sql dba

989


How do I save a sql query?

1018


What are the topics in pl sql?

974