J
jtanis
I have 3 tables: Findings, Inspections, Complaints.
I want to have them to work as follows:
I want both of the Inspections and Compaints table to store their findings
in only one common table, Findings.
How do I set up the relationships and primary / foreign keys?
Of course it can be like this:
inspections Findings
1 00
complaints Findings
1 00
But this solution requires one field for each foreign key, in the findings
table. But I have around 7 more tables that need to store their findings.
Is there a way to cut out all these fields? (further more, since each field
will have only one of these 9 fields filled, it will result in data
denormalization)
I want to have them to work as follows:
I want both of the Inspections and Compaints table to store their findings
in only one common table, Findings.
How do I set up the relationships and primary / foreign keys?
Of course it can be like this:
inspections Findings
1 00
complaints Findings
1 00
But this solution requires one field for each foreign key, in the findings
table. But I have around 7 more tables that need to store their findings.
Is there a way to cut out all these fields? (further more, since each field
will have only one of these 9 fields filled, it will result in data
denormalization)