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 trialabdi ali
10,920 PointsIn the "actors" table INSERT a new actor with the name "Michael J. Fox".
help
Kevin Wilbourn
6,333 PointsKevin Wilbourn
6,333 PointsWhere are you having trouble? This is a pretty simple INSERT query - but it is case sensitive. Every INSERT needs to specify a table name, in this case, "actors" so we have:
INSERT INTO actors
It also needs a set of VALUES. The instructions provided one value for one field - that'll look like this:
INSERT INTO actors VALUES ("Michael J. Fox")
name is inferred - the "actors" table only has one column, but you could declare it if you needed to:
INSERT INTO actors (name) VALUES ("Michael J. Fox")