MYSQL 复合主键[复合主键] Create Table – jashliao部落格
MYSQL 复合主键[复合主键] Create Table
资料来源:http://www.jb51.net/article/21382.htm
create table sc (
studentno int,
courseid int,
score int,
primary key (studentno,courseid) );
MYSQL 复合主键[复合主键] Create Table
资料来源:http://www.jb51.net/article/21382.htm
create table sc (
studentno int,
courseid int,
score int,
primary key (studentno,courseid) );