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 trial

Databases Reporting with SQL Ordering, Limiting and Paging Results Limiting Results

I don't see it

SELECT * FROM books WHERE genre ORDER BY first_pubished ASC LIMIT 5 ;

2 Answers

Mark Sebeck
MOD
Mark Sebeck
Treehouse Moderator 37,905 Points

You almost got it! You need WHERE genre = 'Fantasy'. Also first_published is misspelled. Finding that misspelling was tough. I had to rewrite the query to find it.

Thanks, the little things always get me.... It's working now....

Mark Sebeck
Mark Sebeck
Treehouse Moderator 37,905 Points

You're welcome. It's the little things that get me too. With experience you will be able to spot them quicker