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

General Discussion

hey i was hoping i could get some help i'm not understanding the objective task very well . btw... i'm using sql....

i don't know how to order the genre column on the books table so that i can get the result of the first 5 fantasy genre books published in my results. i've tried everything.

1 Answer

Ari Misha
Ari Misha
19,323 Points

Hiya there! In order to understand RDBMS especially SQL, you need to be aware of clauses and their functionalities, Now regarding your challenge, looks like you need to SELECT every column(or specific column since its not clear from your question ) FROM books table WHERE genre is fantasy, and ORDER BY genre(ASC will be default) and LIMIT is 5. Well i dropped the massive hint in this answer , which i hope will be enough to get you over the passing line. Good luck!

~ Ari