在sql中建表时,遇到问题

2024-12-23 04:50:57
推荐回答(2个)
回答1:

create table xsb(
xuehao varchar(10) primary key,xingming varchar(20),
xingbie varchar(2),
zhuanye varchar(10),
ximing varchar(10));

回答2:

你忘记逗号了create table xsb(
xsb xuehao varchar(10) primary key,
xsb xingming varchar(20),
xsb xingbie varchar(2),
xsb zhuanye varchar(10),
xsb ximing varchar(10));