PRAGMA foreign_keys = ON
k PRIMARY KEY
to the parent table t
40
FOREIGN KEY(k) REFERENCES t(k)
to the child table
FOREIGN KEY … ON DELETE action
FOREIGN KEY … ON UPDATE action
with action
being one of:
RESTRICT
SET NULL
SET DEFAULT
CASCADE