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 trialAbdus Samad
2,307 PointsWe have a database that runs a sports team's website. In the results table we have the columns id, home_team, home_score
My SQL statement is not working, what went wrong?
I wrote for the above question:
SELECT * FROM results where home_team > 12;
2 Answers
Steven Parker
231,271 PointsJust a wild guess...
Without seeing the whole question this is just a wild guess, but if you need to compare something as greater than 12, are you sure it wasn't home_score (instead of home_team)?
Abdus Samad
2,307 PointsThanks for your quick response, I got the solution.
It's strange the file was already attached but you did not received it..
Steven Parker
231,271 PointsSteven Parker
231,271 PointsIt looks like the instructions got cut off.
It would help even more if you include a link to the challenge itself.