Description of what I should do
I have tableone that should be associated withTable1 OR Table2 OR Table3
For example, there is a table Employeesand it has:
Id,
Name,
Address,
Age,
Salary,
EmployerId
The second table RegisterEmployeeRequirements:
Id,
RequirementType,
EmployerId,
EntryId.
Where the type of requirements may be CreditStatusRequirementor EmployeeDegreeRequirement).
Problem : CreditStatusRequirementincludes both the dateCreditStatus and date when it was purchased (to check if it was last year). I also have an extra table with a name CreditStatusRequirementswith columns:
CreditStatus
DateTimeAcquired
On the other hand, the requirement degree which has the following properties: DegreeName and MinGpa.
, . RegisterEmployeeRequirements CreditStatusRequirement, entryId, CreditStatusRequirements, , .
, EmployeeDegreeRequirement, entryId, DegreeRequirements. , , entryId, .
?