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

where to store informatica rejected data?

1139


What is the difference between stop and abort in informatica

1142


Explain direct and indirect flat file loading (source file type) - informatica

1357


Briefly define reusable transformation?

1180


How would you join a node to the already existing domain?

1180


can i any one explain me realtime healthcare project explanation..for interview .iam new to informatica .thanks in advance.

3921


Is stop and abort are same in informatica?

1046


What are connected or unconnected transformations?

1171


what kind of issue you will get in environment? (we ll call help desk to raise ticket rite?

2106


What could be the possible resons of locks by user?

1142


What if the source is a flat-file?

1167


Define enterprise data warehousing?

1256


in reporting we add some new objects,how we get the count of the newly added objects to the report

2249


What is the difference between source qualifier transformations source filter to filter transformation?

1094


What is the format of informatica objects in a repository? What are the databases that informatica can connect to windows?

1250