You have tables named people and events , and you need to record citations, each of which refers to one person and one event. That's a many:many relationship between people and events . You do this with a bridge or link table. The citations table needs one column for each table it links in a many:many relationship. Then for ever people-events combo you wish to record, you create one citations row:
Now to fetch all existing people-event citations, you can write...
You aren't limited to two tables; any number of tables can be in a M:M relationship, so long as the bridge table has a column for each linked table. |