So are you saying that the position of the tables are important specifically in the On statement?
table1.id = table2.id as opposed to table2.id = table1.id....
User Profile
Collapse
-
importance of order in the ON statement
Hello All,
I have had a question come up and was wondering if anyone knew the answer. Given the following query:
Select * From Table1 Left Outer Join Table2 On Table1.Id = Table2.Id
Is there any difference if the On statement was switched? Such as:
Select * From Table1 Left Outer Join Table2 On Table2.Id = Table1.Id
Thanks
No activity results to display
Show More
Leave a comment: