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
11388
September 08, 2006 07:46AM
4719
September 08, 2006 09:52AM
6790
September 11, 2006 02:00AM
5369
April 22, 2008 07:38AM
Re: MySQL 4 to MySQL 5 - SQL syntax question.
4094
April 22, 2008 08:17AM
4036
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.