L
lynn atkinson
I have created a database and it wasnt until we started
entering data that I realised I had a many to many
relationship between 2 tables - selection table and
employeedetails table. (I know this is bad planning but
can I fix it without disturbing my database too much?) I
have created a join table with only the 2 primary fields
in it from the existing tables ie selectionID and
EmployeeID. I have set the primary key to include both
these primary key fields from the other tables. However,
this creates a one to one relationship between both the
existing tables and the join table.
My aim is to have one table with all the employee details
entered only once. Each employee may have many selection
records.
How do I achieve this?
entering data that I realised I had a many to many
relationship between 2 tables - selection table and
employeedetails table. (I know this is bad planning but
can I fix it without disturbing my database too much?) I
have created a join table with only the 2 primary fields
in it from the existing tables ie selectionID and
EmployeeID. I have set the primary key to include both
these primary key fields from the other tables. However,
this creates a one to one relationship between both the
existing tables and the join table.
My aim is to have one table with all the employee details
entered only once. Each employee may have many selection
records.
How do I achieve this?