Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

khmtravel
2,602 PointsDatabase Foundations: Limiting the Results: Challenge Task 1
When I run this script in the MySQL Workbench, I get different results than when I run it in the challenge. "SELECT * FROM actors LIMIT 10 OFFSET 100;" When I run it for Task 1, it tells me it's wrong. I don't see how it is though.
2 Answers
Kai Aldag
Courses Plus Student 13,560 Pointsvery close you're trying to return the 101st to the 200th object, so your limit should be 100 and you need to set your offset to 100 because because as we know when returning the data it starts at 0. here is what i did and it passed.
SELECT * FROM actors LIMIT 100 OFFSET 100;
hope this helps, Kai.
Kai Aldag
Courses Plus Student 13,560 Points.