Most programming languages have Coding styles. Some have defined standards, other have just some code of conduct that the majority of programmers follow.
Standard coding styles are have obvious benefits, in gis.stackexchange itself, it would help people better understand both questions and answers.
From some "googling", there are some reference to Coding Styles for SQL, although they are not consensual:
While this SQL coding styles can be used for Postgis, my question is if there is a Postgis\SQL coding style to handle its functions, or at least some common practices.