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 / krishna

select * from (select distinct name male from fm where
gender='male'),(select distinct name female from fm e
where gender='female');

select decode(gender,'female',name)female,decode
(gender,'male',name)male from fm ;

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you load first and last records into target table? How many ways are there to do it? Explain through mapping flows.

642


How do you update the records with or without using update strategy?

666


What are the popular informatica products?

653


How can we use batches?

606


I am new to informatica and learning it,can anybody please tell me how we receive source as flat file in informatica,from where we get this flat file?

1322






Which means the first record should come as last record and last record should come as first record and load into the target file?

614


Tell me any other tools for scheduling purpose other than workflow manager pmcmd?

742


What is dimensional table? Explain the different dimensions.

667


What are the different types of repositories created using informatica?

663


What is fact table? Explain the different kinds of facts.

617


How we can create indexes after completing the loan process?

732


What is the cumulative sum and moving sum?

760


What is event and what are the tasks related to it?

621


What is the session task and command task?

603


What is meant by pre and post session shell command?

628