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

How do you take back up of repository?

1207


What is target designer and target load order?

1168


Write the prerequisite tasks to achieve the session partition?

1226


i have a data in my source as a flat files what test i have to perform the next step can any body help to me

2174


Tell me can we override a native sql query within informatica? Where do we do it? How do we do it?

1112


explain abt ur project architecture?

2232


Explain in detail about scd type 1 through mapping.

1628


what is persistent lookup cahce?how to use and when to use this persistent lookup cahce?explain?

2370


Tell me about MD5 functions in informatica

981


What happen when you enable grid option avilable at session level ? (Ans found: Scalabily . A single session Parallelization) But how can one session is sharable among different nodes at the same time while running ?

2406


Where do we use mapping variables in informatica?

1118


Difference between Target-based loading and constraint-based loading?

1042


How to do unit testing in informatica?

1227


4 yrs etl devloper roles and responsibilities?any body give solutions

2245


What is a filter transformation and why it is an active one?

1015