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

Explain lookup transformation is active in informatica

1115


What is the difference between informatics 7x and 8x and what is latest version?

1094


What is meant by active and passive transformation?

1138


what are the best practices to extract data from flat file source which are bigger than 100 mb memory?

2370


tell me about your project functionality

2350


How do you load alternate records into different tables through mapping flow?

1882


Describe expression transformation?

1137


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

1062


How to create or implement slowly changing dimension (SCD) Type 2 Effective Date mapping in informatica/Flagging mapping in informatica/visioning mapping in informatica?

1120


what is song in infrmatica...?

2249


Clarify the utilization of aggregator cache record?

1013


What are the differences between joiner transformation and source qualifier transformation?

1182


Briefly define reusable transformation?

1138


Explain lookup transformation source types in informatica

1108


What are the tasks that source qualifier perform?

1112