<p>Could yuou consider normalizing (in a separate commit) all the SQL examples in the cookbook? We tend to use this format elsewhere: <a href="https://metacpan.org/source/RIBASUSHI/DBIx-Class-0.08208/lib/DBIx/Class/ResultSet.pm#L4095">https://metacpan.org/source/RIBASUSHI/DBIx-Class-0.08208/lib/DBIx/Class/ResultSet.pm#L4095</a></p>

<p>The idea being - select/where/group by/order line up, from/join line up one level in, having also one level in</p>

            <p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">
              &mdash;<br>
              Reply to this email directly or <a href='https://github.com/dbsrgits/dbix-class/pull/17#issuecomment-13842976'>view it on GitHub</a>.
            </p>
            <img src='https://github.com/notifications/beacon/4W3BWTo7EIi_7vx28Xzl_t5GoP_kMmL2IYHP4y6vfnyZjLKryTfSt6FdDcrikqmU.gif' height='1' width='1'>