2011/10/14 Simon Slavin <slav...@bigfraud.org>

>
> If you have an index on the data column then that's the index SQLite would
> used for that query.  Once it has picked that index it no longer has access
> to the rowid index.
>
> CREATE INDEX tdr ON table (data, rowid)
>
>
Thanks! That explains everything! Can I remove the index for 'data' if I
create an index like that, or do I need to keep them both?
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to