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

I have source like this
year account month amount
----- --------- ------ --------
1999 salaries jan 9600
1999 salaries feb 2000
1999 salaries mar 2500
2001 benfits jan 3000
2001 benfits feb 3500
2001 benfits mar 4000
-->i need target like this
year account month1 month2 month3
----- --------- -------- -------- --------
1999 salaries 9600 2000 2500
2001 benfits 3000 3500 4000

Answer Posted / a

select yr,acc, max(decode (mon,'jan',am)) mon1,max(decode
(mon,'feb',am)) mon1,max(decode (mon,'mar',am)) mon1 from
intr
group by yr,acc

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Workflow is long running due to long running sql query so when we refer the query plan it tells the issue is due to partition of the db table. How to handle this?

1653


wf dont have integration severances how you can run?

1925


Mention few advantages of router transformation over filter transformation.

1019


How do you use reject loader.

2585


Separate from an archive server and a powerhouse?

943


What are some examples of informatica etl programs?

918


what is mean by complex business rule ?

2147


What is the difference between writing a joiner query in ANSI style and THETA style?

2367


What are the main issues while working with flat files as source and as targets ?

1141


How we can use union transformation?

1038


What is Story point Estimation ? Can any one give just an introduction about this ? Advance Thanks

5643


What is update strategy transform?

1078


can any one explain about dataflow in the informatica project for bank domain....thanks is advance

10666


Under what conditions selecting sorted input in aggregator will still not boost session performance?

1067


how tokens will generate?

2187