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

write a sql query following source?
subject mark
maths 30
science 20
social 80

requird output
maths science social
30 20 80

Answer Posted / brij

select
decode(subject,'maths',mark) maths
,decode(subject,'science',mark) science
,decode(subject,'social',mark) social
from <<table>>

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the components of workflow manager?

1153


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

1164


what is the -ve test case in your project.

2458


What are the steps involved in the migration from older version to newer version of Informatica Server?

2151


Why do we need informatica?

1054


How do you migrate data from one environment to another?

1147


What are the differences between joiner transformation and source qualifier transformation?

1235


What are the transformations that cannot be placed between the sort origin and the joiner transformation so that we do not lose the input sort order?

1227


What is data caches/ index caches?

1169


What does update strategy mean, and what are the different option of it?

1140


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


What is union transformation?

1015


-Which expression we can not use in Maplets?, -Can we join(relate) two dimensions in a schema? -Why and where we use 'sorted input' option?

5875


What is the difference between power center and power mart? What is the procedure for creating independent data marts from informatica 7.1?

1130


Name the different lookup cache(s)?

1292