Re:Writing more legible SQL
by erdemozg on Thursday November 03, 2016 @05:54AM
(#12862637)
I use the following indentation pattern and find it very useful:
By using this pattern I can easily locate columns, tables, criterias, grouping fields, orders etc. And it works well with more complicated queries as well given all the subqueries, cases etc. written in a similar fashion.
[ Parent
| on HN ]
There are no comments on this comment yet.