AnalystNY1985
New member
- Local time
- Today, 01:35
- Joined
- May 6, 2011
- Messages
- 2
Hello, 
I am in Access 2007 and am having a problem writing a SQL query to match names that are similar, but do not match. Here is the scenario:
Table1
FirstName
LastName
Employer
Staff ID (PK)
Table2
Payment
Payee
Date
PaymentID (PK)
I am trying to match the payment information in table 2 to the person who was paid in table1. However, the PAYEE (name on the check) can be written to the employer OR the full name of the staff member. Problem is the Payee field is not identical to the EMPLOYER or the Full Name fields, but are incredibly similar.
I need a query that can capture the similarities and pull matches. I have tried so many things! But because I am learning this as I go, this is incredibly hard. This query is time-sensitive, and anyone who can help-really, it would be greatly appreciated!
Thank you.

I am in Access 2007 and am having a problem writing a SQL query to match names that are similar, but do not match. Here is the scenario:
Table1
FirstName
LastName
Employer
Staff ID (PK)
Table2
Payment
Payee
Date
PaymentID (PK)
I am trying to match the payment information in table 2 to the person who was paid in table1. However, the PAYEE (name on the check) can be written to the employer OR the full name of the staff member. Problem is the Payee field is not identical to the EMPLOYER or the Full Name fields, but are incredibly similar.
I need a query that can capture the similarities and pull matches. I have tried so many things! But because I am learning this as I go, this is incredibly hard. This query is time-sensitive, and anyone who can help-really, it would be greatly appreciated!
Thank you.