Software Engineering vocabulary · Databases and Persistence

Many-to-many relationship

Meaning in software engineering, with examples

nounCommon term

In software engineering, many-to-many relationship means: A link where many rows in one table can relate to many rows in another, like students and courses. It needs a third table in between to store the pairs.

In Turkish: çoka-çok ilişki, çok-çok ilişkisi

How it is used

The table in the middle has many names: junction table, join table, bridge table, link table or associative table. It usually holds two foreign keys that together form its primary key, and sometimes extra data such as the date a student enrolled.

Example sentences

  1. Products and tags have a many-to-many relationship, so we added a product_tags table.

  2. In an interview, explain how you would store a many-to-many relationship between users and roles.

Common collocations

  • many-to-many relationship
  • junction table
  • bridge table
  • N:M relationship

This word in other fields

The same English word can have a different meaning in another field:

More terms: Databases and Persistence

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: