摘要:
案例 例如1:一张表有一万多条记录,表的第一个字段 RecID 是自增长字段, 写一个SQL语句, 找出表的第31到第40个记录。 select top 10 recid from A where recid not in(select top 30 recid from A) 分析:如果这样写会产... 阅读全文
摘要:
--新建表CREATE TABLE 表名(AutoId int primary key identity,字段一 nvarchar(50) not null,字段二 nvarchar(50) not null,字段三 datetime not null,字段四 int not null,)--添加... 阅读全文