SQLite fixes: rename index table to data (index is reserved word), SQLite doesn't allow placeholders in limit and offset, see: http://thread.gmane.org/gmane.comp.db.sqlite.general/9707