Welcome to Interactive Programming Forums, where you can ask questions, receive answers from other members of the community, post code snippets and post exercies.

Need code to create table ??

+8 votes
So I'm trying to create a table called "vitamins" and insert the fields ; vitamin, size, jars in stock and cost price but don't have the proper codes for it.. Especially the cost pricing code and size and jars in stock.. Help please
posted 12 years ago in SQL by shnhorn (1,280 points)

1 Answer

+1 vote
Hi,

Here's an example.  
Provide an appropriate data type for each field.

CREATE TABLE vitamins (
         vitamin <define type here>,
         size <define type here>,
         jars <define type here>,
        price <define type here>
 );
answered 12 years ago by codeadmin (113,880 points)

Related questions

+9 votes
1 answer
posted 12 years ago in HTML by atimokoena (1,400 points)
+7 votes
1 answer
+17 votes
1 answer
posted 12 years ago in HTML by team.kurt1 (1,120 points)
+1 vote
1 answer
posted 12 years ago in SQL by yende (9,130 points)