A
Access rookie
Hello,
I am putting together a database for employees.
There are three types E1, E2,E3(at the moment) and they all have huge
amounts of information to collect that's unique to each type.
I am thinking of creating a main table that would contain information common
to all 3 (Name, address, gender, etc) and then have a tblE2requirements,
tblE3requirements that would hold the different requirements for E2 and E3
employees respectively.
Now, to successfully do this, I'll have to make sure I have the primary key
(eg employee Number) in the main table, and then, make sure the other tables
have a foreign key (Employee Number) in each table, right? Wouldn't that make
it one-many?
The information is really supposed to be one to one...or is it the other way
around? ie have the E2requirementsID (Primary key) as a foreign key in the
main table?
A little confused at the end of the day,
John.
I am putting together a database for employees.
There are three types E1, E2,E3(at the moment) and they all have huge
amounts of information to collect that's unique to each type.
I am thinking of creating a main table that would contain information common
to all 3 (Name, address, gender, etc) and then have a tblE2requirements,
tblE3requirements that would hold the different requirements for E2 and E3
employees respectively.
Now, to successfully do this, I'll have to make sure I have the primary key
(eg employee Number) in the main table, and then, make sure the other tables
have a foreign key (Employee Number) in each table, right? Wouldn't that make
it one-many?
The information is really supposed to be one to one...or is it the other way
around? ie have the E2requirementsID (Primary key) as a foreign key in the
main table?
A little confused at the end of the day,
John.