Update sql.txt

- use :doc: role
- fix another typo