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 trialBrendan Quinn
2,847 PointsHi guys, I am having difficulty with the challenge task please help :)
Hi guys,
I have recently started this course and I am having difficulty with how/where to place the IN value. I think that is where I am going wrong. Can someone please advise and assist me.
Thanks in advance for your support.
1 Answer
seth aruby
10,111 PointsBrendan, You've pretty much got it. I think the only reason you're not passing is because the challenge is looking for you to include all columns/properties, not just the 'price'. So:
SELECT * FROM products WHERE price IN ('7.99', '9.99', '11.99');
Brendan Quinn
2,847 PointsHi seth, Thanks very much for your assistance. I will have to keep in mind what the questions are asking in future :)
Brendan Quinn
2,847 PointsBrendan Quinn
2,847 PointsSelect price FROM products WHERE price IN = ("7.99", "9.99", 11.99");
Here is the code I have currently used