write a sql query following source?
subject mark
maths 30
science 20
social 80
requird output
maths science social
30 20 80
Answers were Sorted based on User's Feedback
Answer / srikanth
select (select marks from sub where subject='maths') maths,
(select marks from sub where subject='science') science,
(select marks from sub where subject='social') social from
sub group by 1;
| Is This Answer Correct ? | 15 Yes | 0 No |
Answer / 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 |
Answer / keshava
We can use pivot finction on 11g instead of multiple
decodes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain how many types of dimensions are available in informatica?
How do you join more than 3 flat files in informatica?
what is lookupoverriding?
What are the joiner caches?
what is tha tracesing level? and difference betweentrace in normal and verbose and nonverbose?
Hi Every One,What is Use of Factless Fact Table ? Why we use Factless Fact Schema in the Projects waiting for reply? thank you
how to join two flat file if they have diff. structure?how to join one relational and one flat file?
Mapping variables, parameters syntax, if you create mapping variables and parameters in mapplet can you use them in the mapping?
Why update strategy and union transformations are active?
What is sorter transformation?
Does an informatica transformation support only aggregate expressions?
waht type of interface is used for testing the data in informatica