Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> creating a view using two tables...
I'm trying to create a view with two tables.
The first table is the main account table. The second table has a foreign key reference.
Here's an example:
TABLEA
accountnumber
name
DATA:
12345,mary smith
TABLEB
accountnumber
phone
phonetype
DATA:
12345,954-9393,1 12345,954-5554,2 12345,954-1234,3
expected view:
VIEWA:
accountnumber
name
phone1
phone2
DATA:
12345, mary smith, 954-9393, 954-5554
How can I do that?
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Fri Jan 28 2000 - 13:30:09 CST
![]() |
![]() |