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!
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
adam woolf1,181 Points
there is a bug here. i believe my syntax is correct
SELECT * FROM products WHERE price!="99.9" that is the syntax. what is wrong??
Steven Parker224,924 Points
The instructions say to "Find all products that don't have the price of 9.99."
But this query finds the items that don't have a price of 99.9. The decimal point is shifted over one digit.
Also, it would be a good habit to not put quotes around numeric values. It's not a problem here, but it could be on other databases.