There are some general well-known coding standards and styles for SQL (e.g. capitalizing reserved words, placing main keywords in different lines, etc.).
Does Emacs come with any modes for this, or are there any packages for formatting SQL to make it adhere to common standards?