学生表(tb_stu)有学生编号(code)和班级编号(classCode)作为联合主键,请选择合适的建立主键的代码
A. create table tb_stu( code int not null primary key, classCode int not null primary key,name varchar(200))
B. create table tb_stu( code int not null, claasCode int not null,name varchar(200),primary key(code,classCode))
C. alter table tb_stu add primary key(code,classCode)
D. alter table tb_stu add constraint pk_stu primary key(code,classCode)