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 SQL Basics Finding the Data You Want Filtering by Comparing Values

Stuck on SQL question, did I not SELECT?

Bummer: Did you select from the results table?

Did I not SELECT?

1 Answer

Heidi Fryzell
seal-mask
MOD
.a{fill-rule:evenodd;}techdegree seal-36
Heidi Fryzell
Front End Web Development Treehouse Moderator 25,178 Points

Hello João,

I think you need to look carefully at the field you are querying on. There is a field called away_team and one called away_score which could easily be confused. Double check the fields in your queries, I think if you have the wrong one, you will get the error that you mentioned.

SELECT * FROM results WHERE away_score < 10

Happy Coding!