Define SQL coding guidelines for Metrics' products
Some points with examples are stated in #24218 comment 8. We shouldn't re-invent the wheel here. Thus, for reference some ideas from Oracle and another reference suggested there.
I wouldn't want to copy these entirely, especially the 'space before comma' rule is troublesome. We don't change sql often enough to justify that.
There are probably other nice references out there, which should be considered.