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

Is multi insert ansi standard?

1753


What are the main components of teradata system?

585


In Teradata, how do we Generate Sequence?

608


In BTEQ, how are the session-mode parameters being set?

657


Highlight a few of the important components of Teradata?

589






What are the available primary index types?

720


What is bteq script in teradata?

635


What is the difference between fastload and multiload?

801


What is the use of having index on table?

584


What is meant by a Least Cost Plan?

626


What is the meaning of Caching in Teradata?

695


What is the difference between fastload and multiload? Which one is faster?

601


What is the use of fallback?

560


Explain and compare pros and cons of start schemas?

549


What is a level of granularity of a fact table?

644