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

David Axelrod
David Axelrod
36,073 Points

Creating a database code challenge, task#1

Hello! Ive rewatched the creating databases video but can't seem to pass the code challenge that follows it. I believe I'm using the right keywords and have tried multiple variations that have failed

create_db.sql
CREATE DATABASE `movie_db`;

Uploaded a screenshot to imgur ---> imgur.com/qAWtSaE

1 Answer

Hi David,

Task 1 should pass with either CREATE DATABASE or CREATE SCHEMA followed by the database name but you don't want to put the name in quotes.

David Axelrod
David Axelrod
36,073 Points

Thanks! I received some help yesterday that helped me pass the challenge. Is there any way to mark a question answered?

You're welcome.

Yes, you can select "best answer" which it looks like you've already figured out. :)