DROPTABLEIFEXISTS`course`;CREATETABLE`course`(`id`varchar(32)NOTNULL,`name`varchar(255)DEFAULTNULL,`t_id`varchar(32)DEFAULTNULL,PRIMARYKEY(`id`))ENGINE=InnoDBDEFAULTCHARSET=utf8;-- ------------------------------ Records of course-- ----------------------------INSERTINTO`course`VALUES('01','语文','01');INSERTINTO`course`VALUES('02','数学','02');INSERTINTO`course`VALUES('03','英语','03');-- ------------------------------ Table structure for score-- ----------------------------DROPTABLEIFEXISTS`score`;CREATETABLE`score`(`s_id`varchar(20)NOTNULLDEFAULT'',`c_id`varchar(20)NOTNULLDEFAULT'',`s_score`int(3)DEFAULTNULL,PRIMARYKEY(`s_id`,`c_id`))ENGINE=InnoDBDEFAULTCHARSET=utf8;-- ------------------------------ Records of score-- ----------------------------INSERTINTO`score`VALUES('01','01','80');INSERTINTO`score`VALUES('01','02','90');INSERTINTO`score`VALUES('01','03','99');INSERTINTO`score`VALUES('02','01','70');INSERTINTO`score`VALUES('02'