by JoelJacobson · 4y ago · 0 comments
What if table1 has been joined in twice, to what table alias is table2 joined against?
Example:
SELECT * FROM table1 a
CROSS JOIN table1 b
FK JOIN table2
Would table2 be joined against "b" or "a"?
I would guess "b" and guess the idea is to always let FK JOIN join against the previous join?FK JOIN was a casually tossed off addition that, in retrospect, I shouldn't have included.
> 2) That's not at all clear from your example. Nor does it necessarily follow from the proposal in general
Can you provide a counter-example that will not be conciser when written using the foreign key join syntax?