将a和b字段联合起来作为主键。
SQL> create table temp(a number(10),b number(10));表已创建。SQL> alter table temp add constraint temp_pri primary key (a,b);表已更改。
SQL> create table temp(a number(10),b number(10));表已创建。SQL> alter table temp add constraint temp_pri primary key (a,b);表已更改。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货