(T1, ...) RIGHT JOIN (T2,...) ON P(T1,...,T2,...) =
(T2, ...) LEFT JOIN (T1,...) ON P(T1,...,T2,...)
http://dev.mysql.com/doc/refman/5.0/en/outer-join-simplification.html
===========
mysql> SELECT cds.artist, cds.title, genres.genre
-> FROM cds, genres
-> WHERE (cds.genreID = genres.genreID);
(T2, ...) LEFT JOIN (T1,...) ON P(T1,...,T2,...)
http://dev.mysql.com/doc/refman/5.0/en/outer-join-simplification.html
===========
mysql> SELECT cds.artist, cds.title, genres.genre
-> FROM cds, genres
-> WHERE (cds.genreID = genres.genreID);
No comments:
Post a Comment