-------添加约束.增删改 use StudentDB2 go --------创建学生表--------- create table StudentInfo( --studentId int primary key not null identity(1,1),---设置为主键,并自增长 studentId ,), studentNum ) not null, studentName ) not null, studentMobile int null, classNo int null…