Sqlite3 Tutorial - __full__
And to query his own habits:
You can insert a single row using execute() or multiple rows at once using executemany() . Always use (the ? placeholder) to prevent SQL injection attacks. sqlite3 tutorial
Delete some data from the users table using the DELETE statement: And to query his own habits: You can