fill blanks in one table using another
Hi. This is my first post. If there is some syntax to make nice looking tables, please point me to instructions on how to do it.
Suppose I have a table like this
key | field1| field2
---------------------------
a | 1 | AA
b | 3 | CF
c | 1 | QB
d | 2 | JV
--------------------------
and one like this
fieldA
--------
a
b
a
a
c
b
--------
How can I "select" a table like the second one, but with two more columns populated with the corresponding field1 and field2 values pulled from the first table? In other words, I want to select a table like this
-----------------------------
a | 1 | AA
b | 3 | CF
a | 1 | AA
a | 1 | AA
c | 1 | QB
b | 3 | CF
Edited 1 time(s). Last edit at 04/19/2012 01:39PM by Paco de Kumite.
Subject
Written By
Posted
fill blanks in one table using another
April 19, 2012 11:54AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.