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

Error in query?

My query: select * from results where home_team == 'Hessle' and away_score > 18; Message: Bummer! Did you select from the results table?

Did I do anything wrong in the query

1 Answer

Steven Parker
Steven Parker
231,269 Points

In SQL, an equality comparison operator is just a single "=".

Other than that, I'd probably need to see the original instructions to give a more complete answer. It's always helpful to provide a link the course page you are working with.

Steven Parker
Steven Parker
231,269 Points

Now that I can see the challenge, I notice the instructions say to find "where "Hessle" was playing away as the away team", so you'll need to check a different column in addition to fixing the operator.