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.

Development Tools Database Foundations Creating Tables and Manipulating Data with SQL Creating a Table

Tables not showing up, missing?

I've been following the tutorial and when I try to create a table it doesn't show up under my database. I double checked that I'm using the correct database. The action output lets me create a table but doesn't show it in the schema. Help?

2 Answers

First refresh the schema, or database (Should be on the left near the word SCHEMAS)

Then make sure to query which schema to use by typing,

USE movie_db_1;

and then running the query by pressing the lightning button just above the query.

After selecting the database you want to work with Andrew then shows you how to create a table with the command


Which is creating a table with the label actors with a column name that contains a maximum of 50 characters which are NOT NULL.

Again, run the query by pressing the lightning button just above and you should have a success message in your Action Output alongside a new table inserted into your database.

SOLUTION: You must refresh the SCHEMAS after you run the query or else you will be viewing the old database and not the updated version.

If you need further explanation or a better walk through the rest of the tutorial please let me know and I will do my best to help!

David Axelrod
David Axelrod
36,073 Points

I had the same problem! I right clicked on the sidebar and clicked refresh all then my table apeared, varchar and all!