Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

multiple columns in operator

632088Apr 3 2008 — edited Apr 4 2008
When I submit a query like this:

select *
from tab1
where (column1, column2) in
((va111, val21),(val12, val22),(val13,val23)....)


It only returns the records matches column1=val11 and column2=val21.
How to change this query to get all values?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 2 2008
Added on Apr 3 2008
7 comments
3,901 views