![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 27 May 2010 @ 20:06:18 GMT
Try creating a derived table or use a column alias some thing like this:
select FIELD1,
rank(FIELD 2) as myRankedFiled
from TEST.TABLE1
qualify myRankedFiled=1
;
HTH. Thanks
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||