![]() |
|
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
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 30 Jun 2008 | ||||||||||||||||||||||||||||||||||||||||||||||||