Format SQL
Indent SQL queries for MySQL, PostgreSQL, SQL Server, Oracle, SQLite, BigQuery…, keywords in upper or lower case; minify them too.
Indent SQL queries for MySQL, PostgreSQL, SQL Server, Oracle, SQLite, BigQuery…, keywords in upper or lower case; minify them too.
Runs entirely in your browser: nothing you type is sent or stored.
SELECT, FROM, JOIN, WHERE, GROUP BY, ORDER BY.SELECT name FROM users tells the language from your data. Lower case is fine too, as long as it is consistent.| Dialect | Its own syntax |
|---|---|
# comments, LIMIT. | |
:: casts, $$…$$ strings, ILIKE, RETURNING. | |
[brackets], TOP, @variables. | |
BEGIN … END blocks, :bind variables, CONNECT BY. | |
project.dataset.table), STRUCT, ARRAY. |