write sql query following table
pname description
lux soap
sunsilk shampoo
lux shampoo
sunsilk soap
clouseup soap
closeup paste

i want the output like

pname description
lux soap
sunsilk shampoo
lux soap
sunsilk shampoo
closeup paste
closeup paste

Answer Posted / vijaya

by using Deocde or case expression get the above o/p

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can any one give some examples for pre sql and post sql(Except dropping and creating index).

3511


Suppose we have two source qualifier transformations sq1 and sq2 connected to target tables tgt1 and tgt2 respectively. How do you ensure tgt2 is loaded after tgt1?

784


How to load a Dimension ? and how to load a fact table?

955


What is workflow manager?

579


I have worked on Informatica 7.1.1. I want to know the answer for the below question. Target is not created initially.Then how to take the DDL script from the source and run the Mapping by creating the Target dynamically?Is it possible by SQL Transformation?

1466






Define update strategy?

640


Explain the mapping variable usage example in informatica

635


Which is the t/r that builts only single cache memory?

712


list out all the transformations which use cache?

691


How we can use union transformation?

612


expain about the tune parameters?

1890


Target increases every day even though no new record was inserted

1109


Tell me about Propagate functions in informatica

524


Plz can any one say me how to get the informatica certification materials and dumps

1600


What are Dimensional table?

619