if some one written, then newer or code reader understand easily select abcd, cde, rfg, count(*), ..., .., ..., like line by line
in postgres direct option format is not available.i want see code intended proper. in context editor i didn't find format option only like lower to upper..
As yes, I am being mostly serious - though I have been pondering seeing what tools can do as opposed to the manual formatting I've been performing. Even a basic linter would be helpful...
The big problem is you need to define what it means to be beautiful. Understandable is a totally different area and that is more where views and functions come in so you can provide names to the various constructs you are using. CTE/WITH facilitate this as well.