Jump to content

[SOLVED] 3 Table Left Join


rubing

Recommended Posts

I run mysql 5.0.45.

 

This LEFT JOIN works fine, on my two tables:

 

SELECT tableA.colA,tableA.colB,tableB.colA,tableB.colB,tableBcolC 
FROM tableA LEFT JOIN tableB ON tableA.colA=tableB.colB
WHERE Date = '2008-05-20' ORDER BY tableBcolB ASC"; 

 

However I now want to add a third table to this LEFT JOIN, such that TableB.colD = TableCcolB.  Do I need to use a different Syntax to do this?

Link to comment
https://forums.phpfreaks.com/topic/107174-solved-3-table-left-join/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.