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

Databases

Sven Harder
Sven Harder
14,943 Points

Rename in one SQL statment both the "t_movie" table to "movies" and the "t_actor" table to "actors".

Hi, i can't get my code running in the Challenge Task 2 of 4.

My Code:

RENAME TABLE t_movie TO movies, t_actor TO actors;

Error message: "You haven't renamed...."

2 Answers

Steven Parker
Steven Parker
229,644 Points

Odd. Your code looks perfectly correct.

And when I cut and pasted your line directly into the challenge it passed. :+1:

Is it possible that you had a typo but you corrected it when composing this post?

Sven Harder
Sven Harder
14,943 Points

No, I c&p.

Now it works - maybe closing and opening the browser solved the problem?!

Thank you