Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Thu, 20 Mar 2003 @ 22:38:28 GMT





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




Subj:   Basic SQL Question about 'IN' clause
 
From:   Anomy Anom



<-- Anonymously Posted: Thursday, March 20, 2003 16:54 -->

Hello,

How can I check more than one value for existance using the 'IN' clause from a list of constants-sets.

I know I can do this using subquery like this: select '1' where (value1, value2, value3) in (select sel1, sel2, sel3 from anywhere)

But what I want to know is: How can I replace the select sub-query with a set of constants like (set11,set12, set13), (set21,set22,set23), (set31,set32,set33) etc.,

Thanks





     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 23 Feb 2008