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.

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
Courses Plus Student 15,820 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