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 trialNelson Hinman Jr
7,078 PointsProblem with SQL Reporting Task #2 - finding the oldest Science Fiction book
I can't seem to get this to work. I am not sure if Science Fiction is a book title or a genre - or if I have something wrong.
SELECT * FROM books WHERE title LIKE "%Science Fiction%" ORDER BY first_published ASC LIMIT 1;
2 Answers
Steven Parker
231,268 PointsYou're really close, but it's not the title that should be compared to "Science Fiction", it's the genre.
Next time, if you're not sure, just try it both ways!
Nelson Hinman Jr
7,078 PointsAll right, thanks for setting me straight.