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

SIMON XENITELLIS
SIMON XENITELLIS
13,874 Points

I KEEP ON GETTING ERROR: YOU SEEM TO BE MISSING A WHERE CLAUSE !

Hello,

In the SQL basics course in a challenge I keep on getting the error : You seem to be missing a WHERE clause. The problem is that the clause is there !

What could be the error ? Or what is the correct solution,because I cannot get past it.

SELECT * FROM RESULTS WHERE AWAY_TEAM = "Hessle" AND PLAYED_ON = "2015-10-01";

The question is from Finding the Data you want (Filtering by Dates) in the SQL basics course.

Thank you.

1 Answer

SIMON XENITELLIS
SIMON XENITELLIS
13,874 Points

Hey,

I just solved the problem.

Just write the SQL in one line !!! This is specific to Treehouse !!

Btw , in the SQL it should be >= !!

Regards, Simon