May 2020
Beginner
564 pages
14h 9m
English
A CROSS JOIN is like an INNER JOIN without the ON clause. It winds up producing results that are like multiplying each table with the other table. This is also referred to as a Cartesian result. A CROSS JOIN will return a combination of every row from two tables. This join will result in a lot of rows returned. It may result in your query never returning results because it's too intensive for the database system to return the results.
To CROSS JOIN two tables, use the following syntax:
SELECT column(s)FROM table1CROSS JOIN table2WHERE condition(s);
The previous syntax shows you how to join two tables together with a CROSS JOIN. You join a column in table1 that matches a column in table2 ...
Read now
Unlock full access