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

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 the size of u r source(like file or table)?

2253


is there any way to read the ms excel datas directly into informatica?like is there any possibilities to take excel file as target?

1174


How to partition the Session?

1088


What is the reusable transformation?

1035


How can you validate all mappings in the repository simultaneously?

1352


What is olap (on-line analytical processing?

1055


where to store informatica rejected data? How to extract the informatica rejected data?

985


What is informatica etl tool?

987


Define sessions in informatica etl?

1013


Describe data concatenation?

1062


What is parallel processing in informatica?

1687


can anyone suggest best free Talend data integration training online

1683


In how many ways we can create ports?

1108


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

1247


What is a predefined event?

1082