Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 05 Sep 2003 @ 08:17:10 GMT


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


Subj:   Re: Rank top and bottom
 
From:   Dieter Noeth

Anantaraman, Kumaran (K.) wrote:

  select rank (col1 ) from tablex qualify ( (rank(col1 asc )) < 10 or (rank(col1 desc)) < 10 )  


  And the explain indicates that it is not doing additional STAT step to get both top-N and bot-N  



Are you shure about that? My Explain shows two steps.


Dieter



     
  <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