Skip to content
SoftwareSolutions.net
How-to

How to format an SQL query for review

Lay out a long query so colleagues can read and check the logic.

1. Paste the query

Copy the SQL statement into the formatter.

2. Format and check

Run the formatter and read the joins and conditions.

3. Test on sample data

Run the query on test data before using it in production.