sql - How to use "IN" operator with several columns? -


Is this possible to query this:

  Select from the table where * (t. key1 with multiple columns and many values ​​  

You have to divide it into several statements I did not know that you want or or and , so I used this code in the AND took:

 <('A', 'B', 'C', 'D') and (TK2) IN ('A', 'B', 'C ('A', 'B', 'C', 'D') or 'A' Use  and inline view:  
  Join the select table (select 'one' from dual union) Select 'dual union' from 'b' Choose from dual union 'c' Select Dual from 'D') x on t.key1 = x.col and t.key2 = x.col and t.key3 = x.col    

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -