Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How to arrange this query ???
etantonio_at_libero.it wrote:
> The tables in the database are the following :
>
> T1
> cod_dest
> descr_dest
>
>
> T2
> cod_dest
>
>
> in my select I need 3 columns
> T1.COD-dest , T1.DESCR-dest , 0 or 1 depending if T1.cod_dest is also
> present in T2.cod_dest.
>
> Can you help me to arrange such query ???
> many thanks
>
>
> Antonio D'Ottavio
> www.etantonio.it/en
You mean: I should do *your* work?
Read up on 'outer join' and at least *try* it yourself!!!!
-- Sybrand Bakker Senior Oracle DBAReceived on Mon Jul 31 2006 - 04:49:14 CDT