First draft of python sql programming guide.

WIP: API Doc links are broken. (I can't find the SQL stuff in the python API docs.)