[Docs] SQL doc formatting and typo fixes

Code fencing with triple-backticks doesn’t seem to work like it does on GitHub. Newlines are lost. Instead, use 4-space indent to format small code blocks.

Nested bullets need 2 leading spaces, not 1.

Spellcheck!