DB2开发基础第1讲Alter table department add constraint pk_deptno primary key(deptno);Alter table employee add constraint fk_workdept foreign key(workdept)references department;MQTBaseTable#1BaseTable#3BaseTable#2Query#4Query#5Query#3Query#2Query#1MQTBaseTable#1BaseTable#3BaseTable#2Query#4Query#5Query#3Query#2Query#1NULLNULLBEGIN ATOMIC END注意声明的顺序