slogging through SQLite