Hi guys i want to make database for payroll only but i dont know how to make structure for this
suppose i want to calculate payroll every month for employees as following
basic salary
bonus
overtime
absence
deduction
meaning
salary = basic salary +bonus+overtime-absence-deduction
How i make database (ERD)Diagram for this
Meaning tables i need and relations

I work with sql server 2005 and visual studio 2005

ok thank you for reply i create four entries(tables)
1- employee(salary)
2- attendance
3- addition(bonus +overtime)
4-deductions(absence+punishment)
1-what i need is what relation between attendance
and deduction
2- payroll table that store (deduction and addition ) what the relation between payroll table and deduction table and addition table that store all these information

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.