![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 10 Nov 2010 @ 07:48:04 GMT
Lakhwant, I do agree with YASh and below is differ way to get the same result.
Select
rank(field1 asc,field2 asc,field3 asc,field4 desc)
,Field1
,Field2
,Field3
,Field4
from tablea
Regards, Vivek Wadhwa / Capgemini
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||