if we have input eno 1,2,3,1,2,3 year
2001,2002,2003,2001,2002,2003 and sal
10000,20000,30000,20000,30000,40000

ex-output
eno totsal
1 30000
2 50000
3 70000

Answer Posted / suresh reddy

select eno,sal,sal+sal as totsal from ex GROUP BY sno,sal;
will give the output same as above

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the tuning lookup transformation - informatica

607


What is a predefined event?

654


How are the sources and targets definitions imported in informatica designer?

666


How to join three sources using joiner?

562


What is meant by lookup transformation? Explain the types of lookup transformation?

562






How you can differentiate between connected lookup and unconnected lookup?

602


What is target designer and target load order?

652


wf dont have integration severances how you can run?

1537


What is a sorter transformation?

652


Write the program through which the records can be updated?

507


Can u generate reports in Informatica?

651


list out all the transformations which use cache?

681


where to store informatica rejected data?

672


I have a mapping loading 100 records and it failed on 20th record. how to recover it without changing anything.(in prod where we don't have any access).. (the session should should start from 21 record)

1073


How to convert multiple rows to single row (multiple columns) in informatica

887