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


which transformation should we use to get the 5th rank
member from a table in informatica?can we achieve this in
sql?

Answers were Sorted based on User's Feedback



which transformation should we use to get the 5th rank member from a table in informatica?can we a..

Answer / venkateshmalneni

FOR THIS WE HAVE 2 USE TWO T/R ie FIRST WE HAVE 2 USE RANK T/R
AND THEN USE A FILTER T/R IN FILTER GIVE THE CONDITION AS
RANK=5 CONNECT TO TARGET
THE FLOW IS LIKE THIS
SRC --->SQ--->RANK--->FILTER--->TRG

WE CAN ALSO DO THIS IN SQL USE THE FOLLOWING QUERY

SELECT * FROM <TABLE_NAME> WHERE ROWNUM <= 5 MINUS SELECT *
FROM <TABLE_NAME> WHERE ROWNUM <=4;

Is This Answer Correct ?    8 Yes 0 No

which transformation should we use to get the 5th rank member from a table in informatica?can we a..

Answer / bhaskar

select * from(select * from emp order by sal desc)
where rownum<=5
MINUS
select * from(select * from emp order by sal desc)
where rownum<=4

Is This Answer Correct ?    3 Yes 0 No

which transformation should we use to get the 5th rank member from a table in informatica?can we a..

Answer / satyanarayana

first one is correct

Is This Answer Correct ?    1 Yes 1 No

which transformation should we use to get the 5th rank member from a table in informatica?can we a..

Answer / yaseen

As my knowledge we can write as
select distinctsal from emp A where 5 =
(select count(distinctsal) from emp B where A.sal <= B.sal)

Plz correct me if I am wrong

Is This Answer Correct ?    0 Yes 0 No

which transformation should we use to get the 5th rank member from a table in informatica?can we a..

Answer / jvdwhinfo

Hi There,

The DFD given in answer is absolutely correct in
informatica.

But coming to sql override stuff i agree with answer 4.
And i want to do little modification keeping performance in
view.
The modified query looks like this.

With salorder
As
(select * from emp)
select * from salorder where rownum <= 5
minus
select * from salorder where rownum <= 4;

Thanks,
James

Is This Answer Correct ?    0 Yes 1 No

which transformation should we use to get the 5th rank member from a table in informatica?can we a..

Answer / chandrasekar

Hi Venkatesh,

The above SQL query is not working correctly..

I have one answer for the above problem. The query is, try
it in the SQL override.

select * from emp where sal=(select max(sal) from emp a
where (select count(sal) from emp b where b.sal >=a.sal)=5)

If it wrong means send the correct answers to me
chandranmca2007@gmail.com

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Informatica Interview Questions

wat s mapping parameter and mapping variable? how do you set that in a mapping?

3 Answers  


We can't use sql override or other properties when using Flat file as source. Then what is the use of Source Qualifier transformation?

3 Answers  


expain about the tune parameters?

0 Answers   TCS,


what is the logic will you implement to load data into a fact table from n dimension tables?

4 Answers   TCS,


what is datamart

4 Answers   IBM, Informatica,


i have a wf i want to run this very day 3 time every 3 hours how can you scheduled that?

1 Answers   Mind Tree,


I have table name in that I have Rajesh Reshika Priya I want the result Like only Starting with R Rajesh Reshika Can someone help me to get these results and How?

3 Answers  


How will you update the first four rows and insert next four rows in a mapping?

5 Answers   CTS,


How to start a workflow using pmcmd command?

0 Answers  


what is mapping parameter?

2 Answers   Cap Gemini,


Please let me know how to do estimation before staring development in project. Here estimation in the sense how many associates are required, etc to complete the project.

1 Answers   iGate,


write a sql query following source? subject mark maths 30 science 20 social 80 requird output maths science social 30 20 80

3 Answers   iGate,


Categories