What does one-to-many relationship mean?
In databases & SQL, one-to-many relationship means a link between two tables where one row in the first table can be connected to many rows in the second, but each of those belongs to only one, like a customer and their orders.
Databases & SQL vocabulary · Data Modeling and Normalization
In Turkish: bire-çok ilişki, bir-çok ilişkisi
Also used in: Software Engineering
Type at least 2 characters to search all fields.
How it is used
The most common relationship in databases. It is built with a foreign key on the 'many' side, for example customer_id in the orders table. Also written 1:N or 1-to-many. ORMs describe the two sides as 'has many' and 'belongs to'.
Example sentences
There is a one-to-many relationship between departments and employees.
To model a one-to-many relationship, put the foreign key on the child table.
Common collocations
- one-to-many relationship between
- 1:N relationship
- parent and child tables
- has many
Related terms
More terms: Data Modeling and Normalization
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
