H
hihihi
Suppose I have a db of products. Each of these products can select
from a number of features. Each of those features can have
subfeatures. Etc.
So I have a table of Products.
A table of level one features (product features).
A table of level two features (feature features), etc.
What I want to be able to do is open a record and create a custom
product.
I open a record, select a product name.
Then I select a feature that product contains. For that feature I
select a subfeature.
Then I select another feature that product contains. For that second
feature, I select another subfeature.
And so on.
My question is I'm not sure how to do a table design that can handle
this. I know that I need junction tables. But how do I make it so
that I keep track of all this? Can someone describe a schema that
would handle this type of database?
Many thanks,
Jimmy
from a number of features. Each of those features can have
subfeatures. Etc.
So I have a table of Products.
A table of level one features (product features).
A table of level two features (feature features), etc.
What I want to be able to do is open a record and create a custom
product.
I open a record, select a product name.
Then I select a feature that product contains. For that feature I
select a subfeature.
Then I select another feature that product contains. For that second
feature, I select another subfeature.
And so on.
My question is I'm not sure how to do a table design that can handle
this. I know that I need junction tables. But how do I make it so
that I keep track of all this? Can someone describe a schema that
would handle this type of database?
Many thanks,
Jimmy