enrique_aeo
asked on
sql server 2012 - Understanding Inner Joins
Hi experts i am reading about:Understanding Inner Joins
but i do not understand:
Why filter in ON clause?
Logical separation between filtering for purposes of join and filtering results in WHERE
can explain me with an example, like hands on lab
but i do not understand:
Why filter in ON clause?
Logical separation between filtering for purposes of join and filtering results in WHERE
can explain me with an example, like hands on lab
ASKER
i undertstand, but what the mean?
Logical separation between filtering for purposes of join and filtering results in WHERE
Logical separation between filtering for purposes of join and filtering results in WHERE
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
i.e.
SELECT Column1,Column2 FROM Tbl1 INNER JOIN Tbl2
ON Tbl1.MyId = Tbl2.MyId
It is equivalent to
SELECT Column1,Column2 FROM Tbl1, Tbl2
WHERE Tbl1.MyId = Tbl2.MyId