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 / rakesh ameta

select male,female from
(select row_number() over (order by (select 1)) as ID,names as male from gen where genders='male') a
FULL join
(select row_number() over (order by (select 1)) as ID,names as female from gen where genders='female') b
on a.id=b.id

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the components of Informatica? And what is the purpose of each?

1013


Describe the impact of several join conditions and join order in a joiner transformation?

1029


Hi all , I am planning for informatica S - PowerCenter 8 Mapping Design certification. I have rewuired the dumps for the same. if anyone of you having the same pl. share it with me. This will be of great help. My contact is : sagardev7@gmail.com TIA , Sagar

2712


In what scenario we use to improve session performance by pushdown optimization?can any one give example?

6093


wat are deployement groups in informatica, how it will be used for developers

1688


Explain lookup transformation is active in informatica

1063


Explain the difference between a data warehouse and a data mart?

1031


Briefly define a session task?

1084


Can we get 1st record through Informatica(without sequence number).

1435


Differences between version 7.x and 8.x.

1866


How many ways a relational source definition can be updated and what are they?

979


What is meant by active and passive transformation?

1083


Explain Dataware house architecture .how data flow from intial to end?

2558


What is lookup change?

1012


How to start a workflow using pmcmd command?

1199