USE LiquorStore
CREATE TABLE Employees
(
EmployeeID INT IDENTITY(1, 1) NOT NULL,
EmployeeNo CHAR(6) NULL,
DateHired VARCHAR(40) NULL,
FirstName VARCHAR(20) NULL,
MI CHAR(1) NULL,
LastName VARCHAR(20) NULL,
Address VARCHAR(40) NULL,
City VARCHAR(32) NULL,
State CHAR(2) NULL,
ZIPCode VARCHAR(12) NULL,
Country VARCHAR(30) NULL,
Salary MONEY NULL,
HomePhone VARCHAR(16) NULL,
EmailAddress VARCHAR(40) NULL,
MaritalStatus BIT NULL,
Notes Text NULL
)
/* Data Entry */
-- First Record --
INSERT INTO Employees(EmployeeNo, DateHired, FirstName, MI, LastName, Address, City,
State, ZIPCode, Country, Salary, HomePhone, EmailAddress, MaritalStatus)
VALUES('GT-882','10/05/1995','Geraldine','F','Thomas','802 Epsilon Ave',
'Silver Spring','MD','20904','USA',12.55,'(301) 524-7822','gthomas@hotmail.com',1)
-- Second Record --
INSERT Employees(EmployeeNo, DateHired, FirstName, MI, LastName, Address, City,
State, ZIPCode, Country, Salary, HomePhone, EmailAddress, MaritalStatus)
VALUES('EB-405','8-22-1996', 'Ernest','','Bilong','1060 Calisto Rd #D12',
'Alexandria','VA','22231-1244','USA',8.72,'(703) 276-8676','ebilong@yahoo.com',0)
-- Third Record --
INSERT Employees(EmployeeNo, DateHired, FirstName, MI, LastName, Address, City,
State, ZIPCode, Country, Salary, HomePhone, EmailAddress, MaritalStatus)
VALUES('DJ-614',8/22/1996,'James','D','Datts','','','DC','','USA',10.18,
'','dattsj@netscape.com',1)
-- Fourth Record --
INSERT Employees(EmployeeNo, DateHired, FirstName, MI, LastName, Address, City,
State, ZIPCode, Country, Salary, HomePhone, EmailAddress, MaritalStatus)
VALUES('BC-200',4/15/1998,'Catherine','','Bollack','12442 Lockwood Drive',
'Rockville','MD','','USA',10.44,'','bollackc1288@csumd.edu',1)
|