My sql中用SQL语句创建一个student,该表包含姓名 性别 等字段

如题所述

create table student
(
姓名 char(8) not null,
性别 char(2)

)

若想加其他字段,在char(2)后加逗号接着写就可以
温馨提示:答案为网友推荐,仅供参考
相似回答