SQL 13
SQL 13
SQL 13
Table created.
1 row created.
1 row created.
A B C
---------- ---------- ----------
x y z
p q r
Table created.
1 row created.
1 row created.
A B
---------- ----------
x y
s t
A B C
---------- ---------- ----------
x y z
p q r
A B
---------- ----------
x y
s t
A B C A B
---------- ---------- ---------- ---------- ----------
x y z x y
p q r
A B C A B
---------- ---------- ---------- ---------- ----------
x y z x y
s t
A B C A B
---------- ---------- ---------- ---------- ----------
x y z x y
s t
p q r
natural join:
this join returns matching rows only,this join
performance is very high comapred to inner join
note:
in this join we are not required to use joining
condition explicitly,but in this case
resource table must have common column
A B C
---------- ---------- ----------
x y z
note:
when ever we are using natural join then we
are not allowed to use aliesname to joining
conditional column because natural join
internally uses using clause
cross join:
14*12=168 rows
8i joins:
syntax:
select col1,col2.... from tab1.tab2,tab3
where tab1.comcol=tab2.comcol
and
tab2.commcol=tab3.comcol
9i joins:
select co11,col2,.....
from tab1 join tab2
on tab1.comcol=tab2.comcol
join tab3
on tab2.comcol=tab3.comcol