Use LIMIT with two parameters. For example, to return results 11-60 (where result 1 is the first row), use:
SELECT * FROM foo LIMIT 10, 50
For a solution to return all results, see Thomas’ answer.
More Related Contents:
- Out of memory Microsoft VBScript runtime error 800a0007
- Left Outer Join doesn’t return all rows from my left table?
- Are table names in MySQL case sensitive?
- MySQL: is a SELECT statement case sensitive?
- Check overlap of date ranges in MySQL
- 1114 (HY000): The table is full
- Get table names using SELECT statement in MySQL
- UPDATE multiple tables in MySQL using LEFT JOIN
- Can a foreign key reference a non-unique index?
- How to raise an error within a MySQL function
- What is maximum query size for mysql?
- Storing Data in MySQL as JSON
- Finding all parents in mysql table with single query (Recursive Query)
- setting global sql_mode in mysql
- Compare dates in MySQL
- MySQL root password change
- MySQL join query using like?
- MySQL: update a field only if condition is met
- MySql Query: Select top 3 rows from table for each category
- MySQL: How to select records for this week?
- Split a string and loop through values in MySQL stored procedure
- MySQL Select Query – Get only first 10 characters of a value
- Create an index on a huge MySQL production table without table locking
- MySQL concurrency, how does it work and do I need to handle it in my application
- mysql select id and name from other table and join query
- How to import large sql file in phpmyadmin
- How to figure out size of Indexes in MySQL
- Equivalent of MSSQL IDENTITY Column in MySQL
- #1060 – Duplicate column name ‘id’
- Failed to connect to mysql at 127.0.0.1:3306 with user root access denied for user ‘root’@’localhost'(using password:YES)