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 Creating Tables and Manipulating Data with SQL Creating a Database

Sterling Savariau
Sterling Savariau
8,373 Points

Update SCHEMA with keyword

CREATE SCHEMA movies_db;

USE movie_db:

Can somebody help me please. I guess I'm not understanding correctly.

1 Answer

Hi Sterling,

I think this is for a code challenge in part 4: ("Write the SQL statement to create a database called movie_db...). Let me know if I'm mistaken.

Anyways, you got the first task correct:

CREATE SCHEMA movie_db;

For the second task - to check if movie_db already exists, I think we're supposed to update our existing line of code somewhere before movie_db:

See this page

Lastly, we need to make sure we're consistent with names! Your code has movies_db and movie_db.

let me know if this isn't helpful

Good Luck!

-Brian