![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 23 Feb 2011 @ 10:51:47 GMT
Hi, I just removed the space before qualify from your query and its working fine.
select * from DB.tl
qualify row_number() over( partition by col1,col2,col3,c0l4 order by
col1,col2,col3,c0l4 )= 1
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||