N
nycdon
I'm working on a database selling metal products. I need to add element
analysis to for quality control of purchased goods. I've created an elements
table, and a product elements table, to store the baseline values.
Products - ProductID, Product
Elements - ElementID, Element
ProductElements - ProductID, ElementID, min, max
Each product will have different sets of elements, and store these min/max
values, to be compared against quality of purchases.
When a certain product is purchased, the purchased element data needs to
also be captured, and compared to these min/max baseline values that are
stored.
My question is, for a product purchased, does make sense that rows of
elements be created to store the actual values - say if AL15 has elements of
Al, Cr, and Mg..when product AL15 purchased, can these 3 rows be
automatically created and tied to the purchase, based on knowing these 3
elements needed for the product from 'Productelements" table?
if this is efficient..any ideas how to create these rows based on
"Productelements"?
thanks!
analysis to for quality control of purchased goods. I've created an elements
table, and a product elements table, to store the baseline values.
Products - ProductID, Product
Elements - ElementID, Element
ProductElements - ProductID, ElementID, min, max
Each product will have different sets of elements, and store these min/max
values, to be compared against quality of purchases.
When a certain product is purchased, the purchased element data needs to
also be captured, and compared to these min/max baseline values that are
stored.
My question is, for a product purchased, does make sense that rows of
elements be created to store the actual values - say if AL15 has elements of
Al, Cr, and Mg..when product AL15 purchased, can these 3 rows be
automatically created and tied to the purchase, based on knowing these 3
elements needed for the product from 'Productelements" table?
if this is efficient..any ideas how to create these rows based on
"Productelements"?
thanks!