johnmerlino
Registered User.
- Local time
- Today, 01:26
- Joined
- Oct 14, 2010
- Messages
- 81
Hey all,
This query fails to filter out states that aren't either FL or NY, even though I specify to do exactly that in the query:
Thanks for any response.
This query fails to filter out states that aren't either FL or NY, even though I specify to do exactly that in the query:
Code:
SELECT contacts.id, contacts.names_1, contacts.names_2, contacts.addresses INTO PrepareForDuplicateCheck
FROM contacts, possibles
WHERE (INSTR(CONTACTS.NAMES_1, possibles.fullname) > 0)
Or
(INSTR(CONTACTS.NAMES_2, possibles.fullname) > 0)
and
(
CONTACTS.us_states_and_canada = "FL"
or
CONTACTS.us_states_and_canada = "NY"
);
Thanks for any response.