step 1:perpar database & data
复制代码 代码如下:
use master
go
Create database Inventory
go
use Inventory
go
Create table inventory
(
TitleId nvarchar(6) not null,
Quantity int not null,
primary key (TitleId,Quantity)
);
go
insert inventory values (‘pc1001’,100);
insert inventory values (‘pc1002’,200);
insert inventory values (‘pc1003’,300);
insert inventory values (‘pc1004’,400);
原创文章,作者:254126420,如若转载,请注明出处:https://blog.ytso.com/234452.html
赞 (0)