Scenario is like this:
Name Sal
A 10;
B 20;
C 30;

Then Output should be
Name Sal
A 10;
B 20;
C 30;
Total 60;

Use SQL For this scenario

Answer Posted / kiran

SQL> select ename,sal from emp union select 'total:',sum(sal) from emp;

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a query to retrieve the latest records from the table sorted by version(scd)

721


Tell me can we override a native sql query within informatica? Where do we do it? How do we do it?

732


What is flashback table ? Advance thanks

1593


Which are the different editions of informatica powercenter that are available?

667


Hi, I am planning to take Infa Certification exam but am unable to find its dumps anywhere on web. If anybody has it, plz share them with me. jkinfo22@gmail.com Thanks in advance

1725






How to generate sequence numbers without using the sequence generator transformation?

750


How to start a workflow using pmcmd command?

811


How to create the source and target database connections in server manager?

710


If informatica has its scheduler why using third party scheduler?

900


How are indexes created after completing the load process?

1094


What is the function of union transformation?

713


What is meant by target load plan?

646


differences between service based and product based?

1655


what is mean by complex business rule ?

1800


What are the designer tools for creating transformations?

774