Загрузил скрипты лаб 1-7
This commit is contained in:
10
Lab6/Task1.sql
Normal file
10
Lab6/Task1.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
USE AdventureWorks
|
||||
CREATE TABLE HumanResources.JobCandidateHistory
|
||||
(
|
||||
JobCandidateID int NOT NULL UNIQUE,
|
||||
Resume xml NULL,
|
||||
Rating int NOT NULL CONSTRAINT CK_JobCandidateHistory_Rating CHECK(Rating BETWEEN 1 AND 10) CONSTRAINT DF_JobCandidateHistory_Rating DEFAULT 5,
|
||||
RejectDate datetime NOT NULL,
|
||||
ContactID int NULL,
|
||||
FOREIGN KEY (ContactID) REFERENCES Person.Contact(ContactID)
|
||||
);
|
||||
Reference in New Issue
Block a user