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 trialAshok Bishnoi
Courses Plus Student 436 PointsStuck in SQL task last part?
Here is result by me for a question but it isn't expecting. SELECT * FROM phone_book WHERE last_name IS NOT NULL;
3 Answers
Maximiliane Quel
Courses Plus Student 55,489 PointsHi,
the reason your answer does not pass is because in the last part of the question it asks you to: Only retrieve the last_name column while you are selecting all columns. Your answer should look like this:
SELECT last_name FROM phone_book WHERE last_name IS NOT NULL;
Otherwise good job :0)
Ashok Bishnoi
Courses Plus Student 436 PointsAlready passed before your answer, but thanks!!
Maureen O'Neal
12,930 PointsYou answered my question too, so thanks! :)
Maximiliane Quel
Courses Plus Student 55,489 PointsGlad I could help :0)