A worked example
Format a short query
- Start with
- select id,name from users where active = 1;
- Check the result
- id and name move onto separate lines, and from and where start new lines. Lowercase keywords remain lowercase.
This is whitespace formatting. It does not check whether users or active exists.