Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 24 Feb 2011 @ 19:33:43 GMT


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


Subj:   Re: Recurisve query - Minimum Bookmarks
 
From:   Roth, David

Isn't it just:

     select rpt_id
     from
     (
     select rpt_id, min(bookmark)
       from table
      where bookmark in ('A','D')
     ) dt
     ;

David W. Roth
Teradata Certified Master
TERADATA



     
  <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