求一条SQL语句,先答对分数全给谁了
INSERT INTO [table] ([FatherID],[SortID],[Title]) VALUES (1 ,这个地方我想是 table 表的总计录数再加1个,SortID是Int型的 ,'标题')
INSERT INTO [table] ([FatherID],[SortID],[Title]) VALUES (1 ,(select count(*) from [table])+1 ,'标题')