Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Databases SQL Basics Finding the Data You Want Filtering on More than One Condition

SELECT * FROM results WHERE id = "Hessle" and away_score > 18; Bummer: Did you select from the 'results' table?

Its saying I'm not selecting from the results table but I believe that I am. Thanks for the help.

Grigorij Schleifer
Grigorij Schleifer
10,363 Points

Hey Trevor, you are very welcome! See you here in the forum :smiley:

1 Answer

Grigorij Schleifer
Grigorij Schleifer
10,363 Points

Hey Trevor, you are almost there! The challenge is asking you for a team that was not playing at home. You are searching for the results and use the ID but you should use away_team instead.

Let me know if this helps you solve the challenge ...

Ah! Got it! Thanks so much for the help!