![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 12 Apr 2006 @ 17:25:55 GMT
Hi Chaim, You could use the RANK function but it's almost the same idea as CSUM.
SELECT
RANK(ACC.ACC_NO ASC)
,ACC.ACC_NO
FROM
ACCOUNT ACC;
Fachtna O'Donovan
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||