I am trying to Union two tables based on each employee's EIN.
Following these steps here: http://office.microsoft.com/en-us/ac...96320.aspx#BM4
Other than naming my 2 queries Left Join and Right Join, I am not sure how to create a proper "Left Join" query to use in the SQL part of the instructions. What I came up with looks like this so far:
Code:
SELECT [HR Data].[Last Name, First Name], [HR Data].EIN, [HR Data].[Date Hired], [HR Data].[Job Title (Employee)], [HR Data].Terminated, [HR Data].[Location (Employee)], [HR Data].[Supervisor Name (Last, First Name)], [HR Data].[Address (Employee)], [HR Data].[City (Employee)], [HR Data].[State (Employee)], [HR Data].[Zip Code], [HR Data].Phone
FROM [HR Data]
UNION
SELECT [Non ICF Trainings].[Name], [Non ICF Trainings].[EIN], [Non ICF Trainings].[Term], [Non ICF Trainings].[Reports To:], [Non ICF Trainings].[Devision], [Non ICF Trainings].[DOH], [Non ICF Trainings].[CPR], [Non ICF Trainings].[First Aid], [Non ICF Trainings].[Fire Ex], [Non ICF Trainings].[BB], [Non ICF Trainings].[D& I], [Non ICF Trainings].[DSP 2], [Non ICF Trainings].[PP/SH/HS], [Non ICF Trainings].[Mandt/TCI/CPI], [Non ICF Trainings].[CRMA], [Non ICF Trainings].[BHP Prov/Mod 1], [Non ICF Trainings].[BHP], [Non ICF Trainings].[Core Day 2/DSP Day 1], [Non ICF Trainings].[Driving], [Non ICF Trainings].[Swim], [Non ICF Trainings].[CS Intro]
FROM [Non ICF Trainings]
WHERE
I have a feeling the queries I started with aren't correct?