1.

Write MYSQL command to create the table SHOP with given structure and constraint :                    Table: SHOPColumn_NameData Type(size)ConstraintFnoInt (10)Primary KeyFnameVarchar (15)TypeChar (10)StockInt (3)PriceDecimal (8, 2)

Answer»

CREATE TABLE SHOP(Fno int(10) Primary Key, Fname Varchar(15), Type Char(10), Stock int(3), Price decimal(8,2));



Discussion

No Comment Found

Related InterviewSolutions