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 trialHasip Timurtas
3,237 PointsMySQL query doesn't work, I can't realize the problem. can you help me?
Database Fondation Stage 3 Reading Data from databases with SQL
Challenge Task 1 of 2
Select all movies with the "year" column that hasn't been populated yet. Type in your command below, then press Enter.
"SELECT * FROM movies WHERE year IS NULL"
Hasip Timurtas
3,237 PointsOk, I'm still waiting you to fix this problem. Thank you.
bhavinpatel
6,727 PointsI am having the same issue!
It is giving this error - "e7ac1fa0-363e-40e8-833d-9c599f995950.rb:345:in abandon_results!': Column count doesn't match value count at row 1 (Mysql2::Error) from e7ac1fa0-363e-40e8-833d-9c599f995950.rb:345:in
"
1 Answer
Ary de Oliveira
28,298 PointsDATABASE FOUNDATIONS.
Challenge Task 1 of 2
Select all movies with the "year" column that hasn't been populated yet. Type in your command below, then press Enter.
SELECT * FROM movies WHERE year IS NULL;
Challenge Task 2 of 2
Select all movies that have data in the "year" column. Type in your command below, then press Enter.
SELECT * FROM movies WHERE year IS NOT NULL;
Hugo Paz
15,622 PointsHugo Paz
15,622 PointsYour answer is correct, I will contact support, it seems there might be an error on this challenge.