SQL Formatter

Takes a query that arrived as one long line and puts the clauses where you can read them. Strings and comments are left exactly as they were.

Query
Formatted

      
Style