Re: MySQL 4 to MySQL 5 - SQL syntax question.
Oh, I should mention that
SELECT users.name, department.name as department, countries.name as country FROM (users, departments) LEFT JOIN countries on users.country = countries.uid
Could also be made good by adding a comma:
SELECT users.name, department.name as department, countries.name as country FROM users, departments, LEFT JOIN countries on users.country = countries.uid
Subject
Views
Written By
Posted
11300
September 08, 2006 07:46AM
4690
September 08, 2006 09:52AM
6758
September 11, 2006 02:00AM
5334
April 22, 2008 07:38AM
Re: MySQL 4 to MySQL 5 - SQL syntax question.
4060
April 22, 2008 08:17AM
4002
February 19, 2008 01:43AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.