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 trialCarmen Boone
760 PointsFind all results where the home team's score is above 12.
SELECT * FROM results WHERE home_team >12
2 Answers
Steven Parker
231,269 PointsThe instructions at that link are a bit different from what you wrote above. The instructions say "Find all the matches in the results table where "Hessle" was playing away as the away team and their score was above 18 points."
So you'll need to have the WHERE
clause check both the team name (note it's for when they are playing away) and that their score was above 18 (not 12).
Steven Parker
231,269 PointsWithout seeing the actual question, I'd guess that "home_team" is probably the name of the team and not the score. You probably need to test a different data field, perhaps one that has a name like "home_score".
In future questions, always provide a link to the course page to facilitate complete analysis and accurate answers.