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 trial

Luke Lee
7,577 PointsBummer! Couldn't find the actor with the name 'Michael J. Fox' in the 'actors' table
The questions is: In the "actors" table INSERT a new actor with the name "Michael J. Fox".
My answer is: INSERT INTO actors VALUES ("Michael J.Fox");
But I always receive this error message, what's wrong with my code?
Bummer! Couldn't find the actor with the name 'Michael J. Fox' in the 'actors' table
6 Answers

Sharon Walls
9,234 PointsYou are missing a space in "Michael J.Fox" (at least in your example). It should be "Michael J. Fox".

Michael Cain
Courses Plus Student 16,547 Pointsremove the space after VALUES, so it reads INSERT INTO actors VALUES("Michael J. Fox");

German Tsatsura
Full Stack JavaScript Techdegree Student 10,173 PointsJust to make it clear when you are inputting the name Michael J. Fox make sure to add a space between J.FOX ->> J.spaceFox

Jeffrey Pavlov
16,191 PointsMaybe you need to specify the column name, there are a couple of ways to insert values, I would suggest this format: INSERT INTO actors(put your column here) VALUES("Michael J. Fox");

Don Maben
2,963 PointsI get the same issue. I am trying to insert data, but the error message is about querying data? I even inserted the code into a Sql syntax checker, and it says its fine.

Marcio Smith
11,268 Pointsget rid of that semi colon