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 -> Re: question on view

Re: question on view

From: Michel Cadot <micadot_at_netcourrier.com>
Date: Wed, 22 Sep 1999 09:24:58 +0200
Message-ID: <7sa09n$b40$1@oceanite.cybercable.fr>


Try this:

create view my_view as
select tab1.fid, tab2.name from tab2, tab1 where tab2.fid (+) = tab1.fid;

Regards.

pradeep paudyal a écrit dans le message <37E7ACEE.2241CD58_at_evolv.com>...
>hello,
> I have a table which has fields called 'fid' and 'type'.
>I have another table which has fields 'fid' and 'name'.
>I want to create a view such that all the fid from the first table are
>listed with the name( if they have it ).In other words the second table
>has only fids which have names.
>But I want to have everything in the view and leave the 'name' field
>empty if a 'fid' doesn't have it.
>I coudn't think of how I can do it. Any help would be appreciated.
>Thanks
>Pradeep
>
>
Received on Wed Sep 22 1999 - 02:24:58 CDT

Original text of this message

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