哪里有问题啊,一直说有错误

这个运行不行,一直说有错误,但是看不出哪里有错误耶,需要各位

img

注意格式

不要用花括号括起来吗

花括号和逗号呢

参考格式:

CREATE TABLE [dbo].[teacher]
(
    [teacher_id] [tinyint] IDENTITY(1,1) NOT NULL,
    [teacher_name] [nvarchar](max) NOT NULL DEFAULT (N'无'),
    [gender] [nvarchar](max) NOT NULL DEFAULT (N'无'),
    [birthday] [date] DEFAULT (N'1990-01-01'),
    [address] [nvarchar](max) DEFAULT (N'无'),
    [idnumber] [nvarchar](max) DEFAULT (N'无'),
    [class_id] [int] not null ,
    PRIMARY KEY ([teacher_id]),
    CHECK ([gender]=N'男' OR [gender]=N'女' OR [gender]=N'无')
)

少了一个)吧最后