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

Home -> Community -> Usenet -> c.d.o.misc -> Combine Queries with LIKE Clause

Combine Queries with LIKE Clause

From: Sam <samevan_at_hotmail.com>
Date: 18 Jan 2003 08:11:54 -0800
Message-ID: <35a7dd54.0301180811.c1f01ea@posting.google.com>


I have two queries:

select deptname from table1 (return 3 rows)

select saleman from table2 where dept_desc LIKE '%table1.deptname%' (repeat 3 times)

How to combine them together? Received on Sat Jan 18 2003 - 10:11:54 CST

Original text of this message

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