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 trialAditya Prakarsa
39,803 PointsWhy this is wrong???
I got bummer with this sql line:
INSERT INTO companies (name, city) VALUES (Treehouse, Portland)
why????
Chris Ramacciotti
Treehouse Guest TeacherGlad you were able to figure it out, Aditya!
1 Answer
Florian Tรถnjes
Full Stack JavaScript Techdegree Graduate 50,856 PointsWhen you enter Strings as values you have to put them into single quotes like this:
INSERT INTO companies (name, city) VALUES ('Treehouse', 'Portland');
Kind Regards, Florian
Aditya Prakarsa
39,803 PointsAditya Prakarsa
39,803 PointsOk. Missing '' on strings...