DOC: fix sql docs (write example data to database)