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 trialPerri Smith
1,726 PointsMissing WHERE clause? (CLOSED)
I am trying to find my error with the IN statement
SELECT * FROM products WHERE price IN (9.99, 10.99, 11.99);
Perri Smith
1,726 PointsSorry, I thought it post the questions. See below:
We have an e-commerce database. Inside the products table we have the columns of id, name, description and price.
Without using the OR keyword, find all products with the price of 7.99, 9.99 or 11.99.
Type in your command below.
3 Answers
Perri Smith
1,726 PointsThank You! I just kick Try Again a few times and it went through
Perri Smith
1,726 PointsHello, how do I link the challenge ?
Jason Anello
Courses Plus Student 94,610 PointsWhen you're on the challenge page you can copy the url that's in the address bar and then paste it in here as a comment.
jcorum
71,830 Pointsjcorum
71,830 PointsYour use of IN looks fine. Check your table and field names. Some DBMS's are case-sensitive! If it's a challenge, how about providing a link?