Language: PL/SQL Highlight Mode: PLSQL Last Modified: March 10th, 2009
CREATETABLE table_one (
col_one NUMBER,
col_two CHAR(1));CREATETABLE table_two (
col_one NUMBER,
col_two CHAR(1));INSERTINTO table_one VALUES(1,'a');INSERTINTO table_one VALUES(2,'b');INSERTINTO table_one VALUES(3,'c');INSERTINTO table_two VALUES(2,'B');INSERTINTO table_two VALUES(3,'C');INSERTINTO table_two VALUES(4,'D');SELECT*FROM
table_one t1 left outer join
table_two t2 ON t1.col_one = t2.col_one;
COL_ONE C COL_ONE C
---------- - ---------- -2 b 2 B
3 c 3 C
1 a
SELECT*FROM
table_one t1 right outer join
table_two t2 ON t1.col_one = t2.col_one;
COL_ONE C COL_ONE C
---------- - ---------- -2 b 2 B
3 c 3 C
4 D
SELECT*FROM
table_one t1 full outer join
table_two t2 ON t1.col_one = t2.col_one;
COL_ONE C COL_ONE C
---------- - ---------- -2 b 2 B
3 c 3 C
1 a
4 D
SQL University.net courses meet the most demanding needs of the business world for advanced education
in a cost-effective manner. SQL University.net courses are available immediately for IT professionals
and can be taken without disruption of your workplace schedule or processes.
Compared to traditional travel-based training, SQL University.net saves time and valuable corporate
resources, allowing companies to do more with less. That's our mission, and that's what we deliver.