db_query function

Query an RSQLite database.