Hello. I am designing a quality control database to store data regarding my company's production runs. Here is a picture of the relationships http://i.imgur.com/yEt9yY3.png
The product table contains the product name with its QC specifications. The lot number table contains the unique production runs for each product. The QCEntries table records the data regarding the samples a QC tech is required to take every 20 minutes or so. The TestResults table contains the test results for each QC Entry (each product requires different tests, at different frequencies).The Test table has a list of the tests that will be performed
My issue stems from the fact that the majority of the tests performed return numerical answers, while a few are qualitative (Good, Fair, Poor).
How would you gurus solve this issue. Would you add another field in the test results table for the qualitative data?(seems wasteful) Would you simply keep the TestResults field as text to allow both numbers and text (will this present an issue with calculations and averages?) Make a separate Qualitative tests table and link it to the Entries table?
The product table contains the product name with its QC specifications. The lot number table contains the unique production runs for each product. The QCEntries table records the data regarding the samples a QC tech is required to take every 20 minutes or so. The TestResults table contains the test results for each QC Entry (each product requires different tests, at different frequencies).The Test table has a list of the tests that will be performed
My issue stems from the fact that the majority of the tests performed return numerical answers, while a few are qualitative (Good, Fair, Poor).
How would you gurus solve this issue. Would you add another field in the test results table for the qualitative data?(seems wasteful) Would you simply keep the TestResults field as text to allow both numbers and text (will this present an issue with calculations and averages?) Make a separate Qualitative tests table and link it to the Entries table?