Home Forums SQL Server 2012 SQL 2012 - General LEFT JOIN without predicate , still works but what is that?<!-- 864 --><!-- 864 --> RE: LEFT JOIN without predicate , still works but what is that?<!-- 864 --><!-- 864 -->

  • Lynn Pettis (8/22/2014)


    mario17 (8/22/2014)


    you actually got Q#4.:-)

    But I understand what my query is doing easier than Chris's Q4. The parens make the order of the joins visually apparent. The other way just isn't intuitive for me.

    That's a pretty common feeling about that syntax. I just hate parens. When I do code that way I usually put in a comment along the lines of:

    /* The order of the ON's enforces a the order of the JOIN's */