Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 26 Jun 2002 @ 12:52:14 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Ranking and concatenation
 
From:   John Street

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
Senior Principal Consultant,
Relationship Technology Solutions for Financial Services,
NCR Limited



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023