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 trialMaureen O'Neal
12,930 PointsSQL Basics challenge 2 of 2
Again , it seems a simple question:
SQL Basics challenge 2 of 2 Again , it seems a simple question: We're back on the smartphone, but our phone_book is a mess. There's a phone_book table but there's missing information in a couple of the columns. The phone_book has the following columns id, first_name, last_name and phone. Find all contacts in the phone_book where the phone number is missing so we can go and ask them for their number. And my answer doesn't pass. My code: SELECT * FROM phone_book WHERE last_name IS NOT NULL; What am I doing WRONG! ?!
3 Answers
Maureen O'Neal
12,930 PointsNever mind, I found it ALREADY in community questions and answers , should have looked there first!
Sobin Sebastian
5,348 PointsSELECT * FROM phone_book WHERE phone IS NULL;
Maureen O'Neal
12,930 PointsI think this is the answer: https://teamtreehouse.com/community/wrong-question-or-wrong-answer
Sobin Sebastian
5,348 PointsSobin Sebastian
5,348 PointsWhat is the answer ?
Adriano De Oliveira
5,653 PointsAdriano De Oliveira
5,653 Pointshi, Maureen ! my cody is not passing, can you send me yours, and where are the community question and answers? thank you.