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 trialMUZ140679 Tinashe Matanda
7,657 PointsRemove the "actors"table from the database
its a question on altering tables database foundations
2 Answers
Ary de Oliveira
28,298 PointsDATABASE FOUNDATIONS / SQL
Challenge Task 1 of 4
Rename the "actors" table to "t_actor".
RENAME TABLE actors to t_actor;
Challenge Task 2 of 4
Rename in one SQL statment both the "t_movie" table to "movies" and the "t_actor" table to "actors".
RENAME TABLE t_movie to movies, t_actor to actors
Challenge Task 3 of 4
Remove the "actors" table from the database.
DROP TABLE actors;
Challenge Task 4 of 4
Truncate the "movies" table.
TRUNCATE table movies;
MUZ140679 Tinashe Matanda
7,657 PointsFinally figured it out.thanks .it wasn't asking for that much , DROP TABLE actors;
Ted Sumner
Courses Plus Student 17,967 PointsTed Sumner
Courses Plus Student 17,967 PointsYes, it is. What do you want to do with it? What SQL statement have you tried?