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

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
216,120 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