1.

Write a MySQL command to create the table STOCK including its constraints.                            Table : STOCKName of ColumnTypeSizeConstraintIDDecimal4Primary KeyNameVarchar20CompanyVarchar20PriceDecimal8Not Null

Answer»

CREATE TABLE STOCK(Id Decimal(4) PRIMARY KEY, Name VARCHER(20), Company VARCHER(20), PRICE DECIMAL(8) NOT NULL);



Discussion

No Comment Found

Related InterviewSolutions