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 trialderek 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
231,261 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
231,261 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
231,261 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";