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

Angelo Martin
Angelo Martin
6,373 Points

Get error " Did you select from the `results` table? " Not sure why...

This is what I am writing: SELECT * FROM results WHERE away_team < 10;

Not sure why I might be getting this error when the correct table <results> is selected. I did try to change table name from results to result, but get same error. Any suggestion?

Angelo Martin
Angelo Martin
6,373 Points

I figured it out (kinda); ran same exact query after refreshing page and it worked! Thanks -

1 Answer

Steven Parker
Steven Parker
231,269 Points

Wouldn't the "away_team" be a name instead of a number? Please post a link to the page so we can see the exact instructions.