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

What does reusable transformation mean?

756


What are ETL Tools?

747


What is a stored procedure transformation?

687


How many types of sessions are there in informatica.please explain them?

776


What are the tasks that source qualifier perform?

722






What is domain and gateway node?

801


What is the difference between STOP and ABORT options in Workflow Monitor?

802


If i have source as flat file. how can i store the header and trilor into one target and data into one more target. |------>target1(header+trailor) source------ |------>target2(data) can any one please help me

1639


What is standalone command task?

818


What is workflow monitor?

695


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?

1556


What is the use of source qualifier?

780


What is workflow? What are the components of workflow manager?

810


list out all the transformations which use cache?

772


How to update a particular record in target with out running whole workflow?

1242