![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 22 Jan 2003 @ 23:44:00 GMT
have you tried the CSUM OLAP function?
Select Mode, Plant
From Test
qualify csum(1,mode,plant, countx desc)=1
group by mode,plant
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||