CROSS JOIN
is the same as INNER
or implicit
joins.
Without conditions, both result in Cartesian product:SELECT
students.*,
notes.*
FROM `notes`
CROSS JOIN `students`
JOIN
example:SELECT
students.*,
notes.*
FROM `notes`
JOIN `students`
JOIN
is the short form of INNER JOIN
SELECT
students.*,
notes.*
FROM `notes`
INNER JOIN `students`
Implicit
join exampleSELECT
students.*,
notes.*
FROM `notes`, `students`
Both the queries return the exact same result