![]() |
|
Archives of the TeradataForumMessage Posted: Tue, 18 Jul 2006 @ 09:44:36 GMT
You can use QUALIFY ROW_NUMBER() function. Following your example:
SELECT FIELD1,
FIELD2,
SUM(FIELD3) as TOTAL
FROM MYTABLE1
WHERE
I hope this help you. Bye! Castelli, Emanuel Alejandro
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||