Cursor usage in SQLite query

Cursor usage to process the result of a SQLite database query