Mixing implicit and explicit JOINs
It results in an error because according to the SQL standard, the JOIN keyword has higher precedence than the comma. The sticky point is that table aliases are not usable until after the corresponding table has been evaluated in the FROM clause. So when you reference e1 in your JOIN…ON expression, e1 doesn’t exist yet. … Read more