📜  mysql 删除 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:34.385000             🧑  作者: Mango

代码示例3
[CONSTRAINT [symbol]] FOREIGN KEY
    [index_name] (col_name, ...)
    REFERENCES tbl_name (col_name,...)
    [ON DELETE reference_option]
    [ON UPDATE reference_option]

reference_option:
    RESTRICT | CASCADE | SET NULL | NO ACTION | SET DEFAULT