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

Databases

Daniphord Mwajah
Daniphord Mwajah
186 Points

Why can't get out of the create table section?

I am learning on treehouse website and I am not working on creating tables. but I am at a place where it asks me to create a table I am trying to do it, but no success, it returns me to he same screen and says I can't create such a table. Help please

Steven Parker
Steven Parker
231,236 Points

To make it possible to help you, please show the code you are entering and provide a link to the course page you are working with.

1 Answer

Prem Yadav
Prem Yadav
7,346 Points

Dear Daniphord Mwajah

Please provide us your code with the query whenever you asking for solution because that helps us to understand the problem and fine the solution of that.

But i think following syntax will help you

INSERT INTO <table_name> VALUES (<value1>,<value2>,<value3>,...........);

In database for every operation we have their corresponding keyword like as follow CREATE--->INSERT READ--->SELECT UPDATE--->UPDATE DELETE--->DELETE

So here for creating the table we have to use INSERT keyword

I hope this will help you. :)

Daniphord Mwajah
Daniphord Mwajah
186 Points

Thank you very much Prem, I understand you, whenever I have a question, I will accompany it with the code. Thank you for the response!