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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Raymond Moore](https://uploads.teamtreehouse.com/production/profile-photos/10210912/micro_Raymond_Photo.jpg)
Raymond Moore
Front End Web Development Techdegree Student 11,166 PointsSQL Query ?
I'm looking for a little assist on this one. I have been stuck for about 5 mins.
![Raymond Moore](https://uploads.teamtreehouse.com/production/profile-photos/10210912/micro_Raymond_Photo.jpg)
Raymond Moore
Front End Web Development Techdegree Student 11,166 PointsHi Steven-
Actually I found out the problem was with syntax within the query. I forgot to place double quotes around the condition string value (e.g. SELECT * FROM books WHERE genre = 'Fantasy' ORDER BY first_published ASC LIMIT 5;)
I placed my initial issue in single quotes within the query. After reviewing a video from the basic SQL I then changed it to (i.e genre = "Fantasy").
However, thanks for the quick response :) Ray
1 Answer
![Steven Parker](https://uploads.teamtreehouse.com/production/profile-photos/969492/micro_tool_chess_set_2.jpg)
Steven Parker
230,688 PointsThis is very strange, single quotes are actually correct for string literals, but double quotes are also accepted in some situations. For more details see this SQLite documentation page.
So I tried pasting your initial query (with the single quotes) directly into the challenge ... and it passed!
I can only think that there may have also been a typo that got fixed when you changed the quotes, but in any case, congratulations on resolving your issue.
Steven Parker
230,688 PointsSteven Parker
230,688 PointsPlease show your query code so we can see what's happening.