peterjc Posted February 1, 2012 Share Posted February 1, 2012 Hi, Example from mysql.com SELECT * FROM table1 LEFT JOIN table2 ON table1.id=table2.id LEFT JOIN table3 ON table2.id=table3.id; SELECT * FROM table1 LEFT JOIN table2 ON table2.id= table1.id LEFT JOIN table3 ON table2.id=table3.id; So is it the same to write table1.id=table2.id or table2.id= table1.id Another example: SELECT * FROM table1 t1, table2 t2 WHERE t1.idtable1=t2.idtable1 SELECT * FROM table1 t1, table2 t2 WHERE t2.idtable1=t1.idtable1 Thanks Link to comment https://forums.phpfreaks.com/topic/256170-joining-multiple-table-table-order/ Share on other sites More sharing options...
trq Posted February 1, 2012 Share Posted February 1, 2012 It makes no difference. Link to comment https://forums.phpfreaks.com/topic/256170-joining-multiple-table-table-order/#findComment-1313244 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.