你的ID不是自动增量的, 你应当这样写:id bigint primary key identity(1,1)id是名字, bigint是类型  primary key 是设为主键, identity(1,1)设为自动增量, 基数为1, 种子数是1(意即:每次只加1)