As you know at Thinkwise we have guidelines for formatting our SQL-code. Because the guidelines were found to be a bit too extensive, we decided to reduce the examples. In addition, we have made some minor adjustments, so that they are more in line with the best practices of Thinkwise.
The guidelines can be found here: https://docs.thinkwisesoftware.com/docs/sf/guidelines_sql_formatting
Good luck using these guidelines!