How to relate keywords to records - Many to Many
Posted
by webworm
on Stack Overflow
See other posts from Stack Overflow
or by webworm
Published on 2010-03-17T13:39:18Z
Indexed on
2010/03/17
13:41 UTC
Read the original article
Hit count: 165
Hi All,
I am looking for suggestions on database design for a sample jobs listing application. I have many jobs that I would like to associate various keywords with. Each job can have multiple keywords. I would like to store the keywords in a seperate table instead of in a field within the Job table so as to avoid mispellings in keywords.
What is the best way to relate keywords to the jobs? I was thinking of using an intermediary table that would have a many to many relationship linking keywords to jobs.
Is this the best way to go or should I just have a field in the Job table that contains multiple keywords? Thanks for any suggestions.
© Stack Overflow or respective owner