Загрузил скрипты лаб 1-7

This commit is contained in:
2022-10-26 00:38:28 +03:00
commit 38c08028f1
56 changed files with 1380 additions and 0 deletions

10
Lab6/Task1.sql Normal file
View 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)
);