Unable to select a column on sqlite3 database

case is reserved keyword in SQLite.

Using double quotes in the query as mentioned in the SQLite documentation should get your query working.