I have a list of synonyms and you need to create a database in SQL for it.
I was thinking about using a relational database design, but I don't know if it would be better. With this database there will be a decent amount of traffic.
I thought Table1 would look like
Id Table2 Id InterlinkID (Table1 Id) Word
Would this be the best way? There may be 1-20 + related words. Another problem that I see from this setup is if I have one word that works as a synonym for more than one word.
Not so great An example of how it will be used, but you get the idea:
Table 1
Id 1
Id 2
Table 2
Id 1
InterlinkID 1
Word one
Id 2
InterlinkID 1
Word 1
Id 3
InterlinkID 1
Word first
Id 4
Interlinkid 2
Word two
Id 5
Interlinkid 2
Word 2
Id 6
Interlinkid 2
Word second
sql database database-design data-modeling
Brad
source share