SQL Practice and Formatter

Practice SQL SELECT queries and format SQL written for common DBMS engines.

Lessons


Tables

SELECT basics

Run a query to see results.

SQL Formatter

SQL Practice FAQ

What can I run here?

Practice beginner SELECT queries with WHERE, LIKE, IN, ORDER BY, TOP, LIMIT, aggregate functions, GROUP BY, and simple JOIN examples.

Is this a full SQL database?

No. It is a browser practice runner for learning common query patterns before moving to MySQL, SQL Server, PostgreSQL, Oracle, DB2, or SQLite.

Can I format production SQL?

Yes. Paste long SQL into the formatter to improve indentation and keyword readability without sending the query to a server.