As I explained in this article, theAThe CROSS JOIN is meant to generate a Cartesian Product.
For instance, assuming we have a one-to-many table relationshipone-to-many table relationship between a parent post and a child post_comment tables that look as follows:
Basically, you can think of the INNER JOIN
INNER JOINas a filtered CROSS JOIN where only the matching records are kept in the final result set.
For more details about how INNER JOIN works, check out this article as well.
