Vault sync: 2021-10-26 17:31:42
This commit is contained in:
parent
964292920e
commit
cd053285d3
@ -2,11 +2,11 @@
|
|||||||
A Foreign key is a [[Constraint]] that protects links between tables. Foreign key is a attribute or attributes that link to the [[Primary Key]] of a other entity set (table).
|
A Foreign key is a [[Constraint]] that protects links between tables. Foreign key is a attribute or attributes that link to the [[Primary Key]] of a other entity set (table).
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
Authors
|
||||||
|ID (PK)|Name|Age|Sex|Length|
|
|ID (PK)|Name|Age|Sex|Length|
|
||||||
|-----|-----|-----|-----|-----|
|
|-----|-----|-----|-----|-----|
|
||||||
|1|Nick|21|M|190|
|
|1|Nick|21|M|190|
|
||||||
|
Authors
|
||||||
|ID (PK)|Job|Age|Sex|Length|
|
|ID (PK)|Job|Age|Sex|Length|
|
||||||
|-----|-----|-----|-----|-----|
|
|-----|-----|-----|-----|-----|
|
||||||
|1|Nick|21|M|190|
|
|1|Nick|21|M|190|
|
Loading…
x
Reference in New Issue
Block a user