1.

Write a SQL query to create the table 'SALESPERSON' with the following structure :                    Table: SALESPERSONFieldTypeSizeConstraintSCODEDecimal6Primary KeyFIRST NAMEVarchar30Not NullLAST NAMEVarchar30Not NullCITYVarchar30SALESDecimal8

Answer»

CREATE TABLE SALESPERSON (SCODE Decimal( 6) Primary Key, FIRSTNAME,Varchar(30) NOTNULL, LASTNNAME Varchar(30) Not NULL, CITY Varchar(30), SALES Decimal(8));



Discussion

No Comment Found

Related InterviewSolutions