Possible Duplicate:
Three table join with joins other than INNER JOIN
I’m a beginner in SQL and I’m trying to understand how to use the join clauses.
I used a Left Join between two tables:
SELECT Table1.Key1, Table2.Key2
FROM Table1 LEFT OUTER JOIN
Table2 ON Table1.Key1 = Table2.Key2
Can I retrieve the keys who are only in the Table1 using a left Join (Or right Join)?
Thanks
Check out the Venn diagrams for the various JOIN types that Jeff Atwood posted – really quite nice and visual way to understand the JOINs!
A Visual Explanation of SQL Joins