from ( select top 10 name,salary from employee_test ) ref Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref Withby Clause to generate reports in BTEQ http://teradatafaqs.blogspot.in/p/teradata-learning-with-and-with-by.html Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) refSelect name,salary, sum (salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref Withby Clause to generate reports in BTEQ http://teradatafaqs.blogspot.in/p/teradata-learning-with-and-with-by.html Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) refSelect name,salary, sum (salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref Withby Clause to generate reports in BTEQ http://teradatafaqs.blogspot.in/p/teradata-learning-with-and-with-by.html Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) refSelect name,salary, sum (salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref Withby Clause to generate reports in BTEQ http://teradatafaqs.blogspot.in/p/teradata-learning-with-and-with-by.html Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) refSelect name,salary, sum (salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref Withby Clause to generate reports in BTEQ http://teradatafaqs.blogspot.in/p/teradata-learning-with-and-with-by.html Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) refSelect name,salary, sum (salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref Withby Clause to generate reports in BTEQ http://teradatafaqs.blogspot.in/p/teradata-learning-with-and-with-by.html Select name,salary, sum(salary) over ( order by salary ROWS UNBOUNDED PRECEDING) from ( select top 10 name,salary from employee_test ) ref