Sorry about the confusion, hope this can clear things up a little:
table 1(soluiton):
sid, timestamp, title, problem, solution, cid, hit
table 2(solcat):
scid, sid, cid
table 3(category):
cid, category
Relationship table 1 to 2 (1 to Many)
Relationship table 3 to 2 (1 to many)
Hope this helps.
The problem is that a record in table 1 can have many associated entries in table 2.
There are two similar questions now i think about it.
1. If I want to update the values in solcat
should i use update?, replace? or delete & insert?
2. What if I want to either increase or decrease the number of entries in solcat for a given record in solution. Wont I either have gaps? or have performance problems as the data gets spread throughout solcat?
Hope that clears things up a little.