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

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -