I want to create a query that deletes any phone numbers that DO NOT match area codes in my area code table. However, it's not working. For example it shows it will delete area code 413 but 413 IS in the area code table!
SQL:
SELECT Left([r00]![phonenum],3) AS Expr1
FROM r00, areacodes
WHERE (((Left([r00]![phonenum],3)) Not Like [areacodes]![areacode]));
SQL:
SELECT Left([r00]![phonenum],3) AS Expr1
FROM r00, areacodes
WHERE (((Left([r00]![phonenum],3)) Not Like [areacodes]![areacode]));