Write a MySQL command to create the table STOCK including its constraints.
Table : STOCK
Name of Column | Type | Size | Constraint |
ID | Decimal | 4 | Primary Key |
Name | Varchar | 20 | |
Company | Varchar | 20 | |
Price | Decimal | 8 | Not Null |
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
CREATE TABLE STOCK(Id Decimal(4) PRIMARY KEY, Name VARCHER(20), Company VARCHER(20), PRICE DECIMAL(8) NOT NULL);