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 on More than One Condition

Not allowing me to continue

Reading the instructions, I am to select all from the results table and filter on the away_team name being Hessie and the away_score being larger than 18. My code below returns an error of "Did you select the results table" Help?

select * from results where away_team = "Hessie" and away_score > 18

2 Answers

Antonio De Rose
Antonio De Rose
20,884 Points
select * from results where away_team = "Hessie" and away_score > 18

/*check whom are you checking for against what they have asked for*/
/*Hessie or Hessle*/

I actually found my spelling error just after I posted this. I just need to start wearing my lasses more, lol