Compare two tables and show it in a form
I have these tables:
Table1:
ID, Date, Code
Table2:
ID, Date, Code
Now I need to compare these two tables based on ID and Date and show matching records, the ones extra in Table1 and the ones Extra in Table2. How can I do this?