I have two tables, Table1 has unique ID's for chemical names, and Table2 has synonyms (none or many) for a name in Table1. The tables have thousands of entries, here is a sample:
Table1
ID(pk) Name Field1 Field2
1 Alum, cesiuun 0 2
2 Alumina 0 1
3 Mirabilite 0 1
4 Dioxin 1 1
5 Dibenzofuran...