Re:Best practices for writing SQL queries
by zephharben on Saturday April 10, 2021 @07:51PM
(#26766394)
Jetbrains tools - specifically, PyCharm & Intellij IDEA - support this (gutter alignment) via the "Joe Celko" code style. With that enabled, you can autoformat you SQL to follow that convention.
Oddly, DataGrip doesn't provide this option.