Hi All!
I am trying to return all main and associated job accounts from one table that have a prefix in another. My SQL is as follows:
SELECT FFFCOMPILE.Customer_ID
FROM FFFCOMPILE.Customer_ID INNER JOIN MatchingTest ON FFFCOMPILE.Customer_ID LIKE (MatchingTest.Customer_ID & '*')
Unfortunately, I am only returning rows that are in MatchingTest (that are an exact match with MatchingTest.Customer_ID), but I also want to return rows that have MatchingTest.Customer_ID as a prefix.
Can anyone tell me why this isn't working?