4.3.2.
SI Payroll
[Link]. Employee
Table 1: Employee
Field Type Constraint Nullable Description
idEmployee PK False The idEmployee is
INT
the primary key for
Employee record.
Employee False The phone number of
INT
Number Employee
Last Name False The last name of
VARCHAR(45) Employee
First Name False The first name of
VARCHAR(45) Employee
SSN False Social Security number
NUMERIC
Pay Rate True The amount of money
VARCHAR(40) an employee
Pay False The foreign key
INT
Rates_idPay references to Pay Rates
Rates table
Vacation True Number of employee
INT
Days vacations
Paid To Date True Pay day
DECIMAL(2)
Paid Last True Last year's payday
DECIMAL(2)
Year
[Link]. Pay Rates
Table 2: Pay Rates
Field Type Constraint Nullable Description
idPay Rates PK False The idPay Rates is
INT
the primary key for
Pay Rates record.
Pay Rate VARCHAR(40) False Name of payment
Name method
Value DECIMAL False Total amount paid
Tax DECIMAL False Percentage of tax
Percentage payable
Pay Type INT False Payment category
Pay Amount DECIMAL False Hard salary
PT - Level C DECIMAL False payment term