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

requird output
maths science social
30 20 80

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

State the limitations where we cannot use joiner in the mapping pipeline?

552


What is a surrogate key?

563


Why do you use Mapping Parameter and mapping variable?

1288


Suppose we configure sorter transformations in the master and detail pipelines with the following sorted ports in order: item_no, item_name, price. When we configure the join condition, what are the guidelines we need to follow to maintain the sort order?

656


What is enterprise data warehousing?

615






Explain the informatica workflow?

590


I have a flat file, want to reverse the contents of the flat file

698


Explain why we use partitioning the session in informatica?

617


What are the uses of etl tools?

650


Explain about Informatica server process that how it works relates to mapping variables?

624


what are the fact table & dimensional table in pharmaceutical and hospotal related products???

1700


Is it possible to revert a global repository to local one and why?

615


suppose in my source flatfile i have 10000 records in that some of master table records missed table records missed then what will u do

1735


What is parallel processing in informatica?

1032


What is the difference between informatica 7.0 and 8.0?

569