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

how to find the 5th highest salary form each department
using 1.SQL Query
2. Informatica power center designer?

Answer Posted / yaseen

Select deptno,distinctsal from emp A where 5= (select count(distinctsal) from emp B where A.sal <= B.sal) groupby deptno

SQ----Rank TR-----Target
Rank t/R ---Group by on Deptno, Top --5

Plz correct if I am wrong

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can any one give me a real time example for FACT TABLE & DIMENSIONAL TABLE?

2058


Explain about cumulative Sum or moving sum?

983


How to load the name of the current processing flat file along with the data into the target using informatica mapping?

1173


What are the features of complex mapping?

1099


What is informatica etl tool?

942


Some flat files are there, out of these having some duplicate. How do you eliminate duplicate files while loading into targets?

1733


How can we handle two sessions in informatica?

985


What is domain in terms of informatica?

957


Different circumstance which drives informatica server to expel records?

918


Describe an informatica powercenter?

1038


Briefly define a session task?

1057


I want my deployment group to refer an external configuration file, while i deploy in the production environment. How can i achieve it.

1999


What are the issues you have faced in your project? How did you overcome those issues?

2292


Informatica Server and Client are in different machines. You run a session from the server manager by specifying the source and target databases. It displays an error. You are confident that everything is correct. Then why it is displaying the error?

1980


Do you find any difficulty while working with flat files as source and target?

1054