DB2数据库开发(一)基础培训 上海*通信技术有限公司 Mr Jim()2011-12Alter 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注意声明的顺序