SQLAI.ai

SQL formatter settings

Set custom SQL formatting rules.

            
select supplier_name,city from (select * from suppliers join addresses on suppliers.address_id=addresses.id) as suppliers where supplier_id>500 order by supplier_name asc,city desc;
Uses TAB characters for indentation.
Converts reserved keywords to upper- or lowercase.
Converts data types to upper- or lowercase.
Converts function names to upper- or lowercase.
Converts identifiers to upper- or lowercase. Only unquoted identifiers are converted (experimental).
Defines overall indentation style (deprecated).
Newline before or after boolean operator (AND, OR, XOR).
Determines maximum length of parenthesized expressions.
Decides how many empty lines to leave between SQL statements.
Decides whitespace around operators.
Whether to place query separator (;) on a separate line.