Hi Peter,
don't use it, this is deprecated syntax.
Teradata implemented some OLAP functions like RANK, MAVG, CSUM in V2R3 before they existed in Standard SQL, but added the ANSI versions in V2R4.
And for ranking you usually want the highest value to be #1, so they decided to use DESC as default :-)
Dieter
Hi Peter,
don't use it, this is deprecated syntax.
Teradata implemented some OLAP functions like RANK, MAVG, CSUM in V2R3 before they existed in Standard SQL, but added the ANSI versions in V2R4.
And for ranking you usually want the highest value to be #1, so they decided to use DESC as default :-)
Dieter