Consider we have two tables, Users and Posts. user_id is the foreign key in Posts table and is primary key in Users
Users
Posts
user_id
In MySQL JOIN syntax, CROSS JOIN, INNER JOIN, and JOIN are all the same. A comma-separated table list is a JOIN.
CROSS JOIN
INNER JOIN
JOIN