📄 foreign_key.result
字号:
drop table if exists t1;create table t1 (a int not null references t2,b int not null references t2 (c),primary key (a,b),foreign key (a) references t3 match full,foreign key (a) references t3 match partial,foreign key (a,b) references t3 (c,d) on delete no actionon update no action,foreign key (a,b) references t3 (c,d) on update cascade,foreign key (a,b) references t3 (c,d) on delete set default,foreign key (a,b) references t3 (c,d) on update set null);create index a on t1 (a);create unique index b on t1 (a,b);drop table t1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -