1. Choose a layout
Agree on indentation and keyword case with the team.
2. Beautify
Run the beautifier on each query before review.
3. Test
Run the query on test data to confirm the behaviour is unchanged.
Write consistent SQL layout so a whole team can read the same queries.
Agree on indentation and keyword case with the team.
Run the beautifier on each query before review.
Run the query on test data to confirm the behaviour is unchanged.