create table students
(
stuID number primary key,
stuName varchar2(20),
stuSex char(2) check(stuSex='男' or stuSex='女') default('男'),
stuAge number(3) check(stuAge between 0 and 100) default(0),
stuCity varchar2(20),
classID number(4)
constraint students_fk foreign key(classID) references classes(classID)
);
第5行出现右括号缺失错误。
请大家帮忙找一下是哪里错了。
谢谢。