
To be added
Source table, refers to the table where the current field is located.
Target table, which table to associate with.
Foreign key, used to establish an association between two tables. For a one-to-one relationship, the foreign key can be placed in either the source table or the target table. If the foreign key represents a "has a" relationship (e.g., one party owns the other in a one-to-one relationship), placing the foreign key in the target table would be more appropriate; if it represents a "belongs to" or "ownership" relationship, the foreign key should be placed in the source table.
The field referenced by the foreign key constraint must be unique. When the foreign key is in the target table, it typically represents a "has one" association.
The field referenced by the foreign key constraint must also be unique. When the foreign key is placed in the source table, it represents a "belongs to" or "ownership" relationship.
ON DELETE is the operation rule for foreign key references in related child tables when deleting parent table records. It is an option when defining foreign key constraints. Common ON DELETE options include: