Notes on using sqlite3