|
Archives of the TeradataForumMessage Posted: Fri, 28 Aug 2009 @ 10:20:34 GMT
Victor Sokovin wrote:
Yep. It looks like there are several rows with the same timeStampKey1 but different sequenceNbrKey1 (or the other way). Otherwise there might be no row with both max values and a single QUALIFY will return a false row. But we need to see the actual query to judge that. It seemed to be a general question, so this was the general answer :-) Dieter
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | |||||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | |||||||||||||||||||||||||||||||||||||||||||||||||||