1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| create table Bien (
IdBien int not null,
IdType int not null,
IdOpperation int not null,
NombrePiece int null,
Adresse varchar(254) null,
Surface float null,
Distance float null,
Prix float null,
constraint PK_BIEN primary key nonclustered (IdBien)
)
create table Oppeartion (
IdOpperation int not null,
Opperation varchar(254) null,
constraint PK_OPPEARTION primary key nonclustered (IdOpperation)
)
create table TypeBien (
IdType int not null,
TypeBien varchar(254) null,
constraint PK_TYPEBIEN primary key nonclustered (IdType),
constraint AK_ID_TYPE_TYPEBIEN unique (IdType)
) |
Partager