Implement detecting one-to-any joins using implicit inner joining
and foreign key equality in the WHERE clause.