![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 26 Jun 2002 @ 12:52:14 GMT
Carmen, try this I think it might be complaining about the group by using a position and not a real field
select (text1 || text2) mytext,
rank () over( order by sum(counts) desc)
from test1
group by text1 || text2
Cheers John Street
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||