![]() |
|
![]() |
![]() |
Archives of the TeradataForumMessage Posted: Fri, 28 Aug 2009 @ 09:07:08 GMT
Well, if you're going to go OLAP, you might as well go all the way. If you have more than one value that equals the MAX, you could add a condition to the QUALIFY to AND with the first condition that calculates the ROW_NUMBER, instead of RANK. iv
| ||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||