in ur table contains the coloumns like deptno,sal empname
then i want output as
deptno subtotalofdept totalsal
10 3700 3700
20 3400 7100



like that

Answer Posted / yuvaevergreen

select csum(sal,deptno) from employee;

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the design features involved in teradata?

537


What's the difference between timestamp (0) and timestamp (6)?

626


Can we have two time dimensions in a schema(either star or snow flake)? For ex if we want joining date of employee and if we want today's sales with time whether can we have two time dimensions for accommodating above tasks?

1610


Explain teradata utilities. What is multiload, fast load, tpump?

563


What is the basic syntax for teradata select statement?

570






How to run a query in teradata?

574


What do you mean by teradata intellicloud?

587


Difference between inner join and outer join?

576


Highlight a few of the advantages that ETL tools have over Teradata.

605


How is MLOAD Teradata Server restarted after execution?

641


Hi, If anyone has TD 14 Basics dumps or study materials, please share. nirmaaal1991@gmail.com

1948


how do you manage the production space. what are the proactive methods you can take ?

1469


What is spool space and when running a job if it reaches the maximum spool space how you solve the problem?

649


Different phases of multiload?

586


What are the different table types that are supported by teradata?

533