Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJim Harrold
2,927 PointsWhy am I getting "Get the 101st to 200th" question wrong?
I am writing "SELECT * FROM actors LIMIT 100 OFFSET 1;"
That should get me all from that table in sets of 100 and starting at #101. What am I missing?
1 Answer
Steven Parker
231,248 PointsYour offset is too small.
You would use OFFSET 1
if you wanted to start with item #2. To start with item #101, you would use OFFSET 100
.
Jim Harrold
2,927 PointsJim Harrold
2,927 PointsThanks!!