MySQL-specific syntax this formatter understands
- Backtick-quoted identifiers like
`order`are preserved LIMIT … OFFSET,INTERVAL 7 DAYandGROUP_CONCAT(… SEPARATOR …)format correctlyON DUPLICATE KEY UPDATEstarts its own clause#line comments are recognised
Formatting changes only whitespace and keyword case. What the query does is unchanged. Need another database? The main SQL formatter has 11 dialects, and the SQL minifier squeezes a query onto one line.