From 7c5b8f997cb13faa320d1eee1439f09741bc97f6 Mon Sep 17 00:00:00 2001 From: borean Date: Wed, 14 Feb 2024 18:28:11 +0100 Subject: [PATCH] typ 2 --- database.sql | 6 +++--- lab.db3 | Bin 0 -> 12288 bytes 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 lab.db3 diff --git a/database.sql b/database.sql index 8fcf6a4..6f6b7a4 100644 --- a/database.sql +++ b/database.sql @@ -4,9 +4,9 @@ CREATE TABLE Respondants ( CREATE TABLE Answers ( answerOne INT check (answerOne BETWEEN 1 AND 10), - answerTwo INT (answerTwo BETWEEN 1 AND 10), - answerThree INT (answerThree BETWEEN 1 AND 10), - answerFour INT (answerFour BETWEEN 1 AND 10), + answerTwo INT check (answerTwo BETWEEN 1 AND 10), + answerThree INT check (answerThree BETWEEN 1 AND 10), + answerFour INT check (answerFour BETWEEN 1 AND 10), name VARCHAR(255), FOREIGN KEY (name) REFERENCES Respondants(name) ); \ No newline at end of file diff --git a/lab.db3 b/lab.db3 new file mode 100644 index 0000000000000000000000000000000000000000..6e00a52f7c2ec88f8ad59ae7717439401daf92e1 GIT binary patch literal 12288 zcmeI#PfNov7{~FXihl~DyY2cwFWW^>>D@XC4ku_F!Y(V3RhVq8+6rEMX}$wrj>jc~ zL2o-dz7HhLkB~w>IX#aL<3&@*OZBm`ja;g((pp`KD5bO;2X1W3=fiDqU!QlCR%frj zo#;;m(M(0N=x5gf_7Ok;0R#|0009ILKmY**5cq!rRv-7`Sbv{3_IX*DqJFE&xhiUU7009ILKmY**5I_I{1Q0*~fqfMS{l)12 b_w{+X7Xk<%fB*srAb