How do I return all the rows from two tables including the matches? For example, if I have a account table and order table with an account ID field in common I want to return the matches from both tables as well as the non-matches.
I am using SQL Server 2005
Thanks.
I think you need
FULL OUTER JOIN:Good luck.