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


source target
--------- --------
name no sal name no sal max_sal
r 10 1000 r 10 1000 3000
y 20 3000 y 20 3000 3000

Answers were Sorted based on User's Feedback



source target --------- -------- name no sal ..

Answer / james

select name,no,sal,(select max(sal) from emp) as max_sal
from emp;

Is This Answer Correct ?    13 Yes 0 No

source target --------- -------- name no sal ..

Answer / venkatesh malneni

source-->sq-
| \-------------|
| --->aggr--->target
in target create a new column maxsal now drag the source and
target to the mapping area connect the source to sq.from sq
create two pipelines connect the first pipeline to the target
and the second pipeline to the aggr t/r in aggr t/r create a
new port max_sal=max(sal) connect this pipe line to the target

Is This Answer Correct ?    8 Yes 2 No

source target --------- -------- name no sal ..

Answer / simha

The above answer is absolutely correct

Is This Answer Correct ?    3 Yes 0 No

source target --------- -------- name no sal ..

Answer / abhinav prakash

1.Pass the ports to an expression t/r.
create a dummy port and give the value as '1'
2.Pass only the salary port to an Aggregator t/r.
Create a dummy port with the same data type and column name
and value as expression.
create o/p port:max(salary)
3.Join these 2 t/r using joiner and join on the dummy port.
ensure u have checked the sorted input option.
4Pass the o/p to the target.

Is This Answer Correct ?    2 Yes 0 No

source target --------- -------- name no sal ..

Answer / ravikishore

JAMES YOUR ANSWER IS CORRECTIN IN ORACLE,BUT I WANT ANSWER
IN INFORMATICA LEVEL AND UR SOURCE IS FLAT FILE HOW TO DO

Is This Answer Correct ?    1 Yes 0 No

source target --------- -------- name no sal ..

Answer / james

Hey Babu,

I've tried your query.
It's not working for me.
Please double check it.

And u said my query doesn't work.
It works absolutely fine for me.
Please let me know where my went wrong.

Waiting for your reply.
-James

Is This Answer Correct ?    0 Yes 0 No

source target --------- -------- name no sal ..

Answer / babu

HI James and Simha,
I think u r answer is wrong,please check once.

as per my knowledje,the query is
SELECT E.*,M.MSAL FROM TABLE_NAME E,(SELECT MAX(SAL) MSAL
FROM TABLE_NAME) M;

IF U R SOURCE IS FLATFILE,U NEED TO GO FOR BELOW MAPPING.

SQ----->TRG_TABLE
|
|---->AGG(MAX(SAL))--->TRG_TABLE(MSAL)
IN THE ABOVE DFD IS
1 SOURCE TO TARGET DIRECT MAPPING ALL COLUMNS EXCEPT
MSAL COLUMN.
2.IN THIS DFD FIND THE MAXSAL AND LINK TO IT MSAL IN
THE TARGET TABLE.

IF THERE IS ANY WRONG PLEASE CORRECT ME.

THANKS,
Babu

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Informatica Interview Questions

how we do performence tuning in informatica

3 Answers  


What is the Router transformation?

2 Answers   Informatica,


How can repository reports be accessed without sql or other transformations?

0 Answers  


I am not able to connect to the domain with the client although all services and databases are up and there is no network issue?

0 Answers  


how you will maintain version?

3 Answers   CTS, TCS,


I have the source like col1 col2 a l b p a m a n b q x y How to get the target data like below col1 col2 a l,m,n b p,q x y

2 Answers   DELL,


Discuss the advantages & Disadvantages of star & snowflake schema?

5 Answers  


What r the type of indexes u generally used in informatica?

2 Answers   Keane India Ltd,


have u done any performance tuning? how u ll do?

0 Answers   IMB, TCS,


How to fasten loading of 100 million distinct records in informatica? (Initially they are loaded into target without using any transformation, taking 2 hours)

3 Answers   Atriax,


Different sorts of metadata that stores in the storage facility?

0 Answers  


How can we remove the duplicates from flat file source?

0 Answers  


Categories