• 2022-05-28
    假设需要为表 customer 添加主键约束,主键列为 customer_id,可以使用如下( )方式。
    A: Alter table CUSTOMER ADD pk_customer primary key (customer_id);
    B: Altertable CUSTOMER ADD constraint pk_customer primary key (customer_id);
    C: Alter table CUSTOMER ADD constraint pk_customer (customer_id);
    D: Alter table CUSTOMER ADD primary key (customer_id);