following source
name gender
ramya female
ram male
deesha female
david male
kumar male
i want the target

male female
ram ramya
david deesha
kumar

any body give solution above question?

Answer Posted / star

Not sure if this has to be solved by SQL or by informatica -
and source is a table or file.

select * from (select lead(gender,0,0) over (partition by
gender), lead(gender,1,0) over (partition by gender) from
table1) where rownum=1
union all
select t1.name, t2.name from
(select name,row_number() over (partition by name) from
table1 where gender='male') t1,
(select name,row_number() over (partition by name) from
table1 where gender='female') t2
where
t1.name(+) = t2.name(+)

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an aggregator transformation?

617


How to partition the Session?

648


Describe an informatica powercenter?

609


can you please explain me pre session and post session options?

6389


What is the need for an etl tool?

640






Explain lookup transformation source types in informatica

702


i have a data in my source as a flat files what test i have to perform the next step can any body help to me

1702


Explain why we use partitioning the session in informatica?

617


Name at least 5 different types of transformations used in mapping design and state the use of each.?

675


explain about unit testing? in real time?

1674


How to do unit testing in informatica?

728


Give one example for each of conditional aggregation, non-aggregate expression, and nested aggregation?

736


What is the advantage of informatica?

650


r u done any partitions in ur project?

1407


What is parallel processing in informatica?

1033