I have a query of the form:
SELECT DISTINCT
lodges.LodgeID
, Lodge
FROM lodges
INNER JOIN lodge_activities_it
ON lodges.LodgeID = lodge_activities_it.LodgeID
WHERE Product_Type = 'Property'
If it returns 995 records, but the same query without the join:
SELECT DISTINCT
lodges.LodgeID
, Lodge
FROM lodges
WHERE Product_Type = 'Property'
Returns 1000 records…
Is there a query that will easily show me the 5 records that are in the latter, but not in the former?
ie the ones that should have a related record in the lodge_activities_it table but don’t?