Just a few ways how you can write to a db (tutoring material). Have a look at the history.