I would like to confirm my understanding of what I have researched about JOINS. Is every
type of SQL JOIN a subset of CROSS JOIN ?
CROSS JOIN you are selecting Cartesian product, so if you have table A (100 rows) and
table B (100 rows) you get 100 x 100 = 10,000
All other JOINS and basically selecting data from the above set.
Like the INNER JOIN or just JOIN, which gives only those rows that are matching on a
specific column.
LEFT OUTER JOIN is giving all the null rows on the left including what comes out of INNER
JOIN.
Two questions
Is it possible to join on more than one column ? Assuming I have 2 columns combined together as my primary key
I am thinking JOIN results don't depend on the relation-ship of the tables? If you have one-to-one between 2 tables your CROSS join will result/return the same number of rows.