Hi all,
I have two tables. Both have first names and last names in each record and each record in each table has a unique ID. Table A has a city and business name for each record, but in Table B only some entries have cities and business names, some only have cities, some only have business names and some don't have either. I'd like to set up a conditional join between tables A and B, one that follows this logic:
If table B's record (denoted by first/last name combo) has BOTH a city and business name, join to table A's record on first name/last name/city/business name.
If table B's record has ONLY a city, join to table A's record on first name/last name/city.
If table B's record has ONLY a business name, join to table A's record on first name/last name/business name.
--------------------------------------------------------------------------------------------------------------------
Is this possible?