Each outcome is backed by the checks that test it. Solid means every check was right first time; with hints means you got there with a nudge; worth a revisit means an answer was revealed or is still wrong.
1
Open a database file from a Python or Java program, send it SQL, read the rows back, and say why the rows are still there when the program runs again.
Not yet
2
Pass values to SQL with placeholders, and show how a query glued together from typed text lets the person typing change what it asks.
Not yet
3
Make two changes all-or-nothing from code with commit and rollback, and catch the error the database raises when a rule is broken.
Not yet
4
Write a small program whose functions store and read records, turn rows into objects, and report how many rows a change touched.
Not yet
Your cheat sheet
What each lesson leaves you able to do, in one place. Lessons you have not finished are dimmed, not hidden.
Open a connection to a SQLite file from Python (sqlite3.connect) or Java (DriverManager.getConnection with a jdbc:sqlite: address and the sqlite-jdbc driver).
Send SQL through the connection and go through the rows of a SELECT one at a time.
Commit to make changes permanent: Python's sqlite3 waits for commit(), while JDBC commits each statement at once unless autocommit is turned off.
Say why the rows are still there on the next run: they live in the database file, not in the program's variables.