Question: Write the SQL to create a Product table with the following columns: ID - Unsigned integer Name - Variable-length string with maximum 40 characters ProductType
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 - Unsigned decimal number
Place your CREATE TABLE statement before the INSERT and SELECT statements. Run your solution and verify the result table contains the three inserted rows.
Step by Step Solution
There are 3 Steps involved in it
Heres an SQL script that creates a Product table with the specified columns and inse... View full answer
Get step-by-step solutions from verified subject matter experts
