i have 2 databases, one uses the primary key of another as the foreign key.
I want to find all of the rows in the primary table that doesn't exist in the foreign table.
e.g:
table jobs:
job_id
company_id
job_name
job_text
date
...
table companies
company_id
company_name
...
from the example above i want to find all companies that have NOT had any jobs between one date and another.
i have a query that gets all of the companies that HAVE had jobs between oine date and another but not the other way around!
thanks.