Skip to content

Glossary: PostgreSQL for Developers

one-to-many

A relationship where one row relates to many in another table, such as one customer with many orders. Store it by putting the "one" side's key on the "many" side.

Where the book teaches it

Related terms

many-to-manyforeign key constraint