Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

derek fentress
737 Pointswhat is wrong with this sql statement update phone_book set first_name="Mystery", last_name="person"
it said it was expecting 6 entries but received 0? trying to change all first names to mystery and last names to person
3 Answers

Steven Parker
220,425 PointsIt may just be a typo.
Without seeing the course, this is a bit of a guess; but perhaps "Person" needs to be spelled with a capital "P"?
To enable the most accurate answers, always post a link to the course page you are working with.
You might also want to move this question to the "Databases
" topic category.

derek fentress
737 Pointsahammad that is exactly what i put down also steven parker there is no sql topic in the drop down help tap

Steven Parker
220,425 PointsSorry, I meant "Databases
" topic.
And Ahmmad's line differs from yours where you wrote "person" (lower case "p") he has "Person" (capital "P").

derek fentress
737 Pointsthat could have been it , thanks for the input

Steven Parker
220,425 PointsDon't forget to change the topic to "Databases
".
Ahammad Jassim
609 PointsAhammad Jassim
609 Pointsthe syntax is
UPDATE phone_book SET first_name = "Mystery" , last_name = "Person";