0% found this document useful (0 votes)
17 views2 pages

Dbpayroll

This document summarizes the database tables for employee payroll information. It includes the Employee table which stores employee details like name, ID, SSN, pay rate, and vacation days. It also includes the Pay Rates table which defines payment methods by name, value, tax percentage, type, amount, and payment level. These two tables store the key information needed for processing employee payroll.

Uploaded by

Thanh Vũ
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views2 pages

Dbpayroll

This document summarizes the database tables for employee payroll information. It includes the Employee table which stores employee details like name, ID, SSN, pay rate, and vacation days. It also includes the Pay Rates table which defines payment methods by name, value, tax percentage, type, amount, and payment level. These two tables store the key information needed for processing employee payroll.

Uploaded by

Thanh Vũ
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

4.3.2.

SI Payroll

4.3.2.1. 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

4.3.2.2. 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

You might also like