Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 15 May 2002 @ 17:25:24 GMT


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


Subj:   Re: Limit rows returned from a query
 
From:   Michael Larkins

Hi JC:

The best way to do this is to use the RANK function. You can sort in it to obtain the desired sequence and use QUALIFY to indicate how many rows you wish to return.

Mike



     
  <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