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 trial

Development Tools Database Foundations Introduction to Data, Databases and SQL Creating Tables

Zander Curtis
Zander Curtis
10,634 Points

What's wrong with this code?

Not sure what's wrong with this?

You'll have to post the code if you want help!

3 Answers

Hi Zander,

There are a lot of good sites to check your syntax like this one: http://www.piliapp.com/mysql-syntax-check/

You SQL syntax is correct. It must be the wrong answer - what is the question?

Zander Curtis
Zander Curtis
10,634 Points

Thanks Cheryl, didn't realize this course doesn't automatically add the code. Here it is

CREATE TABLE movies (title VARCHAR(255), year INTEGER);

Zander Curtis
Zander Curtis
10,634 Points

Thanks Adam. I logged out and then back in on another browser and it worked!

Thanks for the great syntax check. !

Zander