Use where instead of join

This article is tagged with: Use where instead of join and mysql

use where instead of join

# using WHERE ANSI-89 syntax
SELECT *
FROM TABLE_A a,
TABLE_B b
WHERE a.id = b.id
# using JOIN ANSI-92 syntax
SELECT *
FROM TABLE_A a
JOIN TABLE_B b ON b.id = a.id

This article is tagged with: Use where instead of join and mysql