This document discusses different types of joins in SQL including inner joins, outer joins, self joins and cross joins. Tables t1 and s2 are created and sample data is inserted. Equi, non-equi and self joins are demonstrated between t1 and s2. Additional tables s5 are created and sample data inserted to demonstrate inner, inner using, natural and cross joins. Left, right and full outer joins are also shown between tables t1 and s5.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
37 views3 pages
Joins
This document discusses different types of joins in SQL including inner joins, outer joins, self joins and cross joins. Tables t1 and s2 are created and sample data is inserted. Equi, non-equi and self joins are demonstrated between t1 and s2. Additional tables s5 are created and sample data inserted to demonstrate inner, inner using, natural and cross joins. Left, right and full outer joins are also shown between tables t1 and s5.