Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 26 Jun 2002 @ 15:08:40 GMT


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


Subj:   Re: Ranking and concatenation
 
From:   John Street

This is another way of doing what you want though I hope

Select mytext,rank(sumcounts)
from
(select (text1 || text2) ,sum(counts)
   from test1
   group by 1) as accum (mytext,sumcounts)

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: 27 Dec 2016