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...

i want department wise maxmum salary and empolyee name

Answer Posted / ajaikumar

Select e.ename, d.deptname, e.sal
from emp e, dept d
where
e.deptno = d.deptno
and
e.sal IN (
select max(sal) from emp
group by deptno
)

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you change old and new values in an insert, delete and update triggers?

953


How do you tell what your machine name is and what is its IP address?

2007


How to omit columns with default values in insert statement in oracle?

1000


Describe varray?

1007


Why do we use bulk collect in oracle?

1012


List out the types of joins.

1083


Explain an integrity constrains?

1085


What is transaction control statement and how many types of transaction control statement in Oracle?

1080


WHEN CURSOR MOVES FROM ONE FORM TO ANOTHER FORM, HOW MANY TRIGGER WILL BE FIRED AND WHAT ARE THEIR SEQUENCE?

2251


How many anonymous blocks can be defined?

1104


can u plz provide me oca sql dumps please i need them

1901


What is a directory object?

1029


State some uses of redo log files?

947


What are the ansi data types supported in oracle?

897


I have a table called 'test' on source and target with same name, structure and data type but in a different column order. How can you setup replication for this table?

1047