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.

Databases Modifying Data with SQL Adding Data to a Database Adding Data to a Database Review

Why isn't it a semicolon ? I copied from the playground and they used semicolons to separate values.

INSERT INTO books (title, author, genre, first_published) VALUES ("The Circle", "Dave Eggers", "Science Fiction", 2013) ("Contact", "Carl Sagan", "Science Fiction", 1985); ("Animal Farm", "George Orwell", NULL, 1945);

1 Answer

Steven Parker
Steven Parker
212,261 Points

:point_right: The normal SQL convention is that values are separated by commas (,).

Did you see anywhere in the course that showed semicolons instead? If so, can you provide a link (and time index if a video)?