Question: PARTICIPATION ACTIVITY 3 . 3 . 4 : Create a Product table. Write the SQL to create a Product table with the following columns: ID

PARTICIPATION
ACTIVITY
3.3.4: Create a Product table.
Write the SQL to create a Product table with the following columns:
ID - Unsigned integer
Name - Variable-length string with maximum 40 characters
ProductType - Fixed-length string with maximum 3 characters
OriginDate - Year, month, and day.
Weight - Decimal number with six significant digits and one digit after the decimal po
Place your CREATE TABLE statement before the INSERT and SELECT statements. Run your contains the three inserted rows.
-- Write your CREATE TABLE statement here:
INSERT INTO Product (ID, Name, ProductType, OriginDate, Weight) VALUES
(100, 'Tricorder', 'COM', '2020-08-11',2.4),
(200, 'Food replicator', 'FOD', '2020-09-21',54.2),
(300, 'Cloaking device', 'SPA', '2019-02-04',177.9);
SELECT *
FROM Product:
 PARTICIPATION ACTIVITY 3.3.4: Create a Product table. Write the SQL to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!