H
Howard
how would you design a table that allows an item to belong to multiple
parent categories.
single parent example:
select * from table1 where parentid = 5
in this case parentid is an indexable unique integer
possible multiple parent:
select * from table1 where parentid = '5,6'
a problem is that i don't know the order of the ids it could be '6,5'
how do you design a database that does this?
Thanks,
Howard
parent categories.
single parent example:
select * from table1 where parentid = 5
in this case parentid is an indexable unique integer
possible multiple parent:
select * from table1 where parentid = '5,6'
a problem is that i don't know the order of the ids it could be '6,5'
how do you design a database that does this?
Thanks,
Howard