![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 03 Jun 2009 @ 07:29:35 GMT
Hi there, Does Teradata have a function which would select the last row in an aggregate group? eg:
Name Department
John IT
Steven IT
Susan IT
Paul HR
Pauline HR
Would provide the following two rows
Susan IT
Pauline HR
Thanks Chaim
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||