Creating a database table (MySQL) -


I am trying to create a database script that contains the SQL code for the following steps, and execute each step < Use MySQL workspace to create and create a new table called recipe

in Strong> fooddb . The recipe table should contain the following objects for the column: ID (auto increment), title, instructions (only one string), numbers, and total time ( in minutes)

< P> Edit 3 - 11/4/2014 - 15:32 ... I might have come to know this, I am not very sure, though:

  create table recipes (RapidID Ent Null Auto_Intermement, 'Respananam' Varkar (300), 'Recipe Type' varchar (100), "Instructions" text, Nonoff Serving Rick Null, T Tltaim Inminits Int tap (Reepiaiaidiaidi)) of the primary; Insert in the prescription values ​​(0, 'ResponseName', 'Recipes Type', 'Instructions', 0, 0); * Choose from the recipe;  

Is there anything that might be wrong in this ???

You should take a look at the mysql manual to learn how to create databases / tables: / P>

There are ways to create tables.

Edit: You can either:

  Enter the method (name, range) values ​​('name of the name', ' Category Name');  

Because you specify only the columns, where you want to add the data

or

  in the prescription values ​​(0, 'Payernames', 'category names');  

Because you have to give all the data for all the columns if you do not specify the column.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -