![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 23 Jun 2006 @ 19:15:09 GMT
> ROW_NUMBER() OVER (PARTITION BY E.column1 ORDER BY 2)
Try to drop the PARTITION BY part:
ROW_NUMBER() OVER (ORDER BY 2 DESC).
I have not tested this, though. Regards, Victor
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | |||||||||||||||||||||||||||||||||||||||||||||||||||