Contracts.sql 375 B

1234567891011
  1. use [Sergeichev]
  2. create table Contracts
  3. (
  4. Code_Contract int primary key identity(1,1) not null,
  5. Code_Customer int foreign key references Customers(Code_Customer) not null,
  6. Code_Employee int foreign key references Employees(Code_Employee) not null,
  7. Code_Car int foreign key references Cars(Code_Car) not null,
  8. Amount_Contract int not null,
  9. Date_Contract date not null
  10. )