Depending on the amount of experience you have with databases in
general it's likely that as an Oracle user you would use the
Oracle sytle join syntax. From version 9i Oracle has supported
the ANSI join syntax but many users and many examples of Oracle
SQL on the web still use the Oracle syntax.
Essentially the Oracle syntax uses the where clause to specifiy
the join condition simply by comparing a column in one table with
the other.
SQL> select e.emp_id, d.description from emp e, dept d
2 where e.dept_id = d.dept_id;
EMP_ID DESCRIPTION
---------- ------------------------------
1 HR
2 HR
3 IT
4 ADMIN
The good news is that this also works in MySQL. MySQL fully
supports ANSI join conditions but it also allows (in part) the
joining of tables via the where clause.
[Read more]
mysql> select …