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

Databases

christopher walsh
christopher walsh
7,272 Points

quiz doesnt work

In "Filtering By Comparing Values" of SQL Basics, the answer

SELECT * FROM results WHERE home_score < 10;

doesn't work, although I feel its right. It keeps saying "Bummer! Did you select from the results table?"

very frustrating!

2 Answers

Brendan Whiting
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 Points

I pasted in your code and got a different error message: "Bummer! You're missing the greater than operator (>)". Maybe a forum bug isn't letting me see the whole code you put in.

At any rate, looking at the code above, you forgot the condition of the WHERE part (that home_score needs to be greater than 12)

Should look like this:

SELECT * FROM results WHERE home_score > 12;
christopher walsh
christopher walsh
7,272 Points

the forum doesn't show the full code I put. Im putting the correct answer in the quiz, keep getting the error