RE: [PHP-DB] Howto make a double LEFT JOIN

From: Date: Tue, 02 Oct 2001 20:06:14 +0000
Subject: RE: [PHP-DB] Howto make a double LEFT JOIN
Groups: php.db 
Request: Send a blank email to php-db+get-12933@lists.php.net to get a copy of this message
Remove the parentheses SELECT table1.id FROM table1 LEFT JOIN table2 LEFT JOIN table3 ON table2.id=table3.id ON table1.id=table2.id -----Original Message----- From: Bas Jobsen [mailto:bas@startpunt.cc] Sent: Tuesday, October 02, 2001 3:00 PM To: php-db@lists.php.net Subject: [PHP-DB] Howto make a double LEFT JOIN Hello, How can i make a double LEFT JOIN? Now i have got: SELECT table1.id FROM table1 LEFT JOIN (table2 LEFT JOIN table3 ON table2.id=table3.id) ON table1.id=table2.id but this gives an error Tnx, Bas -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#12933) next »