Using Access 2010. Suppose I have three tables: dogs, cats, and catChases. My goal is to create a query that will tell me, for each dog and each cat, whether or not that dog has chased that cat.
I thought I’d have to use a Cartesian product of dogs and cats, because I want the status for all possible combinations, and then left join catChases, as follows:
select
dog,cat,chase
from
dogs,cats
left join
catChases
on
dogs.dog=catChases.dog
but that just gives me an error message:
Syntax error in JOIN operation.
So how do I left join another table to a Cartesian product?
Try this: