Having the following SQL
SELECT
u.user_id AS user_id,
u.user_name AS user_name,
d.user_data AS user_data
FROM
tbl_users u,
tbl_data d
WHERE
d.user_id = u.user_id
Does this still produces a JOIN (as there's no JOIN keyword in this sql)? How does MySQL handle this query?
And is there any difference if the WHERE clause would be u.user_id = d.user_id instead of d.user_id = u.user_id ?
Thanks.
FROMclause, and are relating them in theWHEREclause - it's a JOIN in disguise.