Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: SQL: partial match with set of vsalues from a subquery

Re: SQL: partial match with set of vsalues from a subquery

From: <paolo.becci_at_gmail.com>
Date: 9 Aug 2005 04:58:45 -0700
Message-ID: <1123588724.970814.81880@g49g2000cwa.googlegroups.com>


I hope i've undestood your problem.

The solution may be:

select a.code,b.name from tabA a,tabB b

   where a.code=b.code and (a.patternhere

      IN ( select pattern from tabC c where c.pattern like '%I am in%')

          or a.patternhere like '%I am in%')

Is it what you expect? Received on Tue Aug 09 2005 - 06:58:45 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US