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: outer join

Re: outer join

From: Jim Poe <jpoe_at_fulcrumit.com>
Date: 02 Jan 2001 23:14:57 GMT
Message-ID: <92tndh$9of@dispatch.concentric.net>

You are right about the union. This is a solution I received in another newsgroup.

select DISTINCT c.ctac_id, v.street from contact c, (select ctac_id, street from off_addr oa, address a  where oa.addr_id = a.addr_id
 union all
 select ctac_id, street from contact_addr ca, address a  where ca.addr_id = a.addr_id
) v
where c.ctac_id = v.ctac_id(+)

Thanks for your response

--
Jim Poe ( jpoe_at_fulcrumit.com )
Received on Tue Jan 02 2001 - 17:14:57 CST

Original text of this message

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