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 trialMary Urban
6,321 PointsSQL Reporting by example - first quiz - students ending in the letter "x"
The question was find all students whose name ends in the letter "x". I just tried this same query in the playground and it worked fine. When I try it in the quiz it tells me I am wrong. This is what I used:
SELECT * FROM students WHERE last_name LIKE "%x";
4 Answers
Ben Deitch
Treehouse TeacherHey Mary! That's now been added as a correct answer. Thanks for pointing it out :)
Steven Parker
231,275 PointsThis quiz seems to only like single quotes ('
).
Try replacing the double quotes ("
) with single quotes/apostrophes ('
). I'll bet you pass then.
This is probably a bug. You might want to report it to Support.
Mary Urban
6,321 PointsThanks everyone - I didn't get a chance to see Steven's note first to try single quotes before it was corrected, but glad it was fixed and I wasn't losing my mind in trying to see what was wrong!
Steven Parker
231,275 PointsThey fixed it before you reported it? How's that for service!
Mary Urban
6,321 PointsNo, I meant I saw your reply and Ben's at the same time so I didn't get a chance to try the single quotes.
Steven Parker
231,275 PointsRight, and Ben's reply says it was already corrected.