NOT INDEXED Clause Fails to Suppress Multi-Column Index Usage in SQLite Queries
Composite Index Utilization Overrides NOT INDEXED Directive in Multi-Column WHERE Clauses The core problem arises when a SQLite query includes a NOT INDEXED clause intended to force a full table scan but observes continued usage of a composite index. This occurs specifically when the WHERE clause contains predicates for multiple columns covered by the composite…