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.

Databases

Get the 101st to 200th actor from the actors table. Be sure to return every column.

My answer:

SELECT * FROM actors LIMIT 200 OFFSET 100;

According to this I'm wrong. Any help as to how?

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,704 Points

Hey Juan,

You didn't link your question directly from the challenge, so I can't double check the answer before posting. (It's always best for you to click the "Get Help" button from the challenge, video, or quiz, so you are directly linked to the proper place, which makes it easier for us to help.

Anyway, I believe you issue may be with the LIMIT. It seems that you are only supposed to get 100 per page, so your LIMIT should be 100, not 200.

:dizzy: