1 2 3 4 5 6 7 8 9 10 11 12 13
| declare @Catalogue as table
(
FourId char(3) not null
, ArtId char(3) not null
, CatPrix int not null
primary key (FourId, ArtId)
) ;
insert into @Catalogue (FourId, ArtId, CatPrix) VALUES ('f01', 'a01', 1500) ;
insert into @Catalogue (FourId, ArtId, CatPrix) VALUES ('f02', 'a02', 1000) ;
insert into @Catalogue (FourId, ArtId, CatPrix) VALUES ('f03', 'a03', 3000) ;
insert into @Catalogue (FourId, ArtId, CatPrix) VALUES ('f04', 'a04', 2000) ;
insert into @Catalogue (FourId, ArtId, CatPrix) VALUES ('f01', 'a05', 3000) ; |
Partager