Fixed offset without limit for mysql and sqlite3