select * from emp where sal>(select min(sal) from emp) how
to implement the same in informatica ?

Answers were Sorted based on User's Feedback



select * from emp where sal>(select min(sal) from emp) how to implement the same in informatica..

Answer / chandra mouli

In Mapping take two transfermations.
1.aggrigate transfermation
2.filter transfermation.
in aggrigate add one output port is minsal
minsal=MIN(SAL).next in filter condition SAL > minsal.

next link the ports to target.

Is This Answer Correct ?    8 Yes 3 No

select * from emp where sal>(select min(sal) from emp) how to implement the same in informatica..

Answer / guest

Hi,

Use the lookup on emp table .Override the lookup Query
(select min(sal) from emp. Connect the empno port and min
(sal) port to exp. Fetch all the rows from emp table to
exp, then connect to filter give condition sal> min(sal).

Is This Answer Correct ?    3 Yes 0 No

select * from emp where sal>(select min(sal) from emp) how to implement the same in informatica..

Answer / cmanojkumar

Hi,
Thanks for your answer.
If we take this in single pipeline it will not allow us to
connect aggregator transformation and source qualifier
transformation to target transformation
Because we can't combine two active transformations to
another transformation.
I would like to know these rules. Can any on tell me why
can't we combine active and active ?

Is This Answer Correct ?    1 Yes 0 No

select * from emp where sal>(select min(sal) from emp) how to implement the same in informatica..

Answer / rudra

SQualifier --> Sql Query -->select * from emp where sal>(select min(sal) from emp) -->Apply-->OK -->connect to TGT table (save it)
## Create wf and ssn then run it

Is This Answer Correct ?    0 Yes 0 No

select * from emp where sal>(select min(sal) from emp) how to implement the same in informatica..

Answer / chiranjeevi.madam

The above answer is correct. But, the aggregated value should be found in one pipeline and the filter should be in another pipeline both coming from source qualifier or previous t/r.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Informatica Interview Questions

Is LOAD MANAGER AND LOAD BALANCER same in informatica?

1 Answers   KPIT,


How to join a Flat and Relational Source without using (Joiner, Update and Lookup ) transformations... is it possible? if yes i would like to know how?

10 Answers   Wipro,


Explain grouped cross tab?

1 Answers   Accenture,


How i can upload the MainFrame source For Informatica ?

1 Answers  


if i have one mapping and we already tuned that mapping for performance,everything is fine and loading will take 1 hr,so without doing any change in mapping how could we reduce the loading time from 1hr to 1/2 hr.

5 Answers   Wipro,






How to display session logs based upon particular dates. If I want to display session logs for 1 week from a particular date how can I do it without using unix.

1 Answers   DELL,


What is a grid in Informatica?

0 Answers  


can u give example for factless fact table

2 Answers   TCS,


What is informatica? Why do we need it?

0 Answers  


What is informatica worklet?

0 Answers  


how to join the two flatfiles using the joiner t/r if there is no matching port?

5 Answers   Cegedim,


What is the cumulative sum and moving sum?

0 Answers  


Categories