Minor edits to SQL guidance doc

I like the changes of where you put the dynamic view queries. I made some minor edits. The most notable is that I changed some of the headings so that those with 4 hashes (####) are in Sentence case rather than Title Case.