parent son
PK主键 FK外键
n ------> 1
alter table muniubox.cpa_accounting_book add constraint FK_Reference_9 foreign key (customer_info_id)
references muniubox.cpa_customer_info (id) on delete restrict on update restrict;
powerDesigner:
表视图重新排序: symbol->auto-layout
网格:tools-> display preferences -> show page delimiter
同时显示name(中文) 和显示code(字段名) 设置:tools-->modeloptions-->naming convention-->display,选择NAM