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 trialDavid Goodman
4,282 PointsFiltering By Dates in SQL Basics
Trying to run this query for the Filtering By Dates objective and keep getting a syntax error. Have tried a bunch of different things. Can anyone lend a hand?
SELECT * FROM results WHERE away_team = "Hessle" AND played_on>== "2015-10-01";
SQL Error: near "=": syntax error
Thanks!
2 Answers
Jordan Gauthier
5,552 PointsIt looks like you may have an extra "=" when comparing played_on to "2015-10-01".
David Goodman
4,282 PointsThat was it. Thank you, sir!