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

 Informatica Checkpoints

2853


What are the components of the workflow manager?

636


How many dimensions are there in informatica?

623


differences between service based and product based?

1563


Differentiate between a database and data warehouse?

650






What is olap (on-line analytical processing?

638


Separate from an archive server and a powerhouse?

491


Explain the code page compatibility?

639


Define update strategy?

634


I have 100 records in source table, but I want to load 1, 5,10,15,20…..100 into target table. How can I do this? Explain in detailed mapping flow.

1050


Informatica settings are available in which file?

586


How many number of sessions can one group in batches?

688


How to configure mapping in informatica?

674


How to handle decimal places while importing a flatfile into informatica?

716


What is workflow monitor?

593