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 Pointswhy am i getting an error
it seems right what ls wrong anyone help
INSERT INTO movies VALUES( "Back to the Future", 1985);
4 Answers
John Steer-Fowler
Courses Plus Student 11,734 PointsYour exact statement worked fine for me.
What error are you getting?
Diren Yardimli
6,494 Pointswhat are your table columns order? they have to match, use NULL if you want to skip some.
abdi ali
10,920 Pointsi am getting that kind of error
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"Back to the Future", 1985)' at line 1
John Steer-Fowler
Courses Plus Student 11,734 PointsTry putting a space between VALUES and ("Back to the....)