ZshiqiZ
2016-07-07 10:40 阅读 3.5k

phpMyAdmin怎么修改排序规则

create table student
(Sno varchar(10) PRIMARY KEY,
Sname varchar(10) UNIQUE,
Sage varchar(10),
Ssex varchar(10)
)
create table course
(Cno varchar(10) PRIMARY KEY,
Cname varchar(10),
Ccredit varchar(10)
)
create table SC
(Sno varchar(10),
Cno varchar(10),
Grade varchar(10),
PRIMARY KEY(Sno,Cno),
FOREIGN KEY (Sno) REFERENCES student(Sno),
FOREIGN KEY (Cno) REFERENCES course(Cno)
);
用外键把这三个表连接起来了,但排序规则默认的是latin1-swedish-ci,录入数据显示不全

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

相关推荐