Interactive Programming Forums
Login
Register
Home
Questions/Snippets/Exercises
Unanswered
Tags
Ask a Question
Post a Code Snippet
Post an Exercise
Welcome to Interactive Programming Forums, where you can ask questions, receive answers from other members of the community, post code snippets and post exercies.
All categories
Ruby
(3)
Python
(10)
PHP
(7)
Perl
(2)
SQL
(8)
Javascript
(6)
HTML
(20)
CSS
(4)
jQuery
(0)
XML
(3)
Code Snippets
(1)
Exercises
(4)
Other
(9)
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
programming
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
I need to restart all the exercises of Tutorial III.
posted
12 years
ago
in
HTML
by
atimokoena
(
1,400
points)
programming
+7
votes
1
answer
error in sql exercise Chapter IV - CREATE TABLE 'Employees';
posted
12 years
ago
in
SQL
by
SUNRISER
(
2,050
points)
sql
error
programming-code
+17
votes
1
answer
Problem Making A Table
posted
12 years
ago
in
HTML
by
team.kurt1
(
1,120
points)
programming
html
table
problem
+3
votes
1
answer
How to create a 5x4 (5 rows, 4 columns) table with one of rows having a column span set to 4 (colspan="4")?
posted
12 years
ago
in
HTML
by
yende
(
9,130
points)
+1
vote
1
answer
How to insert a record into 'employees' table?
posted
12 years
ago
in
SQL
by
yende
(
9,130
points)