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

Explain what is informatica metadata and where is it stored?

1029


How to do unit testing in informatica?

1156


How to partition the Session?

1084


Where do we use mapping variables in informatica?

1042


Explain in detail scd type 2 through mapping.

1025


Explain incremental aggregation in informatica

1107


Give one example for each of conditional aggregation, non-aggregate expression, and nested aggregation?

1244


In warehouses how many schemas are there?

1056


TELL ME ONE COMPLEX MAPPING IN UR PROJECT? chandumba2005@gmai.com

1855


What are active and passive transformations?

1067


What is substr in informatica?

1176


what is the difference between informatica6.1 and infomatica7.1

2249


What is the use of source qualifier?

1111


Explain pmcmd command usage in informatica

1105


What is Session and Batches?

1081