Schema reference - Foreign keys - Introduction.php 253 Bytes EditWeb IDE 1 2 A foreign key constraint specifies that the values in a column (or a group of columns) must match the values appearing in some row of another table. In other words foreign key constraints maintain the referential integrity between two related tables.