Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 18 Aug 2004 @ 14:30:16 GMT


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


Subj:   Re: Matrix/Array query?
 
From:   Howard Bradley

Use UNION

     sel name
     ,'SHIRT'
     FROM TEST_01
     WHERE
     SHIRT=1
     UNION
     sel name
     ,'PANTS'
     FROM TEST_01
     WHERE
     PANTS=1
     (ETC)
     ORDER BY 1,2


     
  <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