![]() |
|
Archives of the TeradataForumMessage Posted: Mon, 24 Oct 2011 @ 21:03:14 GMT
You want to use QUALIFY, not HAVING:
QUALIFY COUNT(*) OVER (PARTITION BY T1.PARTY_ID) > 1
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||