documentation: ensure SQL queries are below 85 chars per line.

for the reviewer:
Task: improve readability of documentation - ensure that character length of SQL queries is below 85 chars per line.

My attempt is to split up the task:
- fix SQL queries in general (which is this PR).
- fix output of SQL queries.

everywhere else is 2 space indentation