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

PHP

In Reading Data from Databases with SQL. The two last challenges are not working. ex "Dealing with NULL"

I'm having issues with the Database foundation section under Reading Data from Databases with SQL. The two last code challenges aren’t working. Here’s a screen shot of the error I get:

alt text

My answers to the “Dealing with NULL” challenge is:

 SELECT * FROM movies WHERE year IS NULL;

I suppose everything is correct. Or am I doing something wrong? Can somebody help me or give me a hint on what to do. Please, I have been stuck on this section for 2 days, but I think it is a problem with the website.

2 Answers

Thank you Iain Simmons, I did try again and it worked for me too, Thank you... It looks like it was a temporary issue with the server or something.Thank you...

Your query worked for me (and the corresponding one for the second challenge):

SELECT * FROM movies WHERE year IS NOT NULL;

Also worked without the semicolon at the end.

You might want to email help@treehouse.com with a link to the challenges (https://teamtreehouse.com/library/database-foundations/reading-data-from-databases-with-sql/dealing-with-null) and your screenshot above to report a bug.