I have the following oracle query which runs fine
SELECT c.customercode, s.sales_id
FROM customers c
LEFT JOIN sales s ON c.customercode = s.sales_id
WHERE c.address IS NOT NULL
and it returns results looking something like this:
customercode sales_id
12345678 456
34534534 678
23423423 X123
What I would like to do is exclude rows where the sales_id contains anything other than numeric characters. So the above results would not include the 3rd row.