1)What’s the benefit to retrieving records from two or more tables by using JOIN statements as opposed to just listing the tables, and then providing the search keys in the WHERE clause?
I.e.: SELECT E.Name, A.Address
FROM Employees AS E INNER JOIN Adresses AS A
ON (E.EmployeeID = A.EmployeeID)
VS.
SELECT E.Name, A.Address
FROM Employees AS E, Addresses AS A
WHERE E.EmployeeID = A.EmployeeID
Any ideas on performance of one vs. the other, especially when multiple tables with many records are involved?
I.e.: SELECT E.Name, A.Address
FROM Employees AS E INNER JOIN Adresses AS A
ON (E.EmployeeID = A.EmployeeID)
VS.
SELECT E.Name, A.Address
FROM Employees AS E, Addresses AS A
WHERE E.EmployeeID = A.EmployeeID
Any ideas on performance of one vs. the other, especially when multiple tables with many records are involved?