Implement SQLite:query non-template version.