We introduced an employee-payroll hierarchy to calculate each employees payroll. In this exercise, we provide a database

Question:

We introduced an employee-payroll hierarchy to calculate each employee’s payroll. In this exercise, we provide a database of employees that corresponds to the employee-payroll hierarchy. (A SQL script to create the Employees database is provided with the examples for this chapter.) Write an application that allows the user to:

a) Add employees to the Employee table.

b) Add payroll information to the appropriate table for each new employee. For example, for a salaried employee add the payroll information to the SalariedEmployees table. Figure 24.35 is the entity-relationship diagram for the employees database.

Figure 24.35

salaried Employees social SecurityNumber weeklySalary bonus hourlyEmployees social SecurityNumber hours wage

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Java How To Program Late Objects Version

ISBN: 9780136123712

8th Edition

Authors: Paul Deitel, Deitel & Associates

Question Posted: