This commit is contained in:
Imbus 2024-02-14 18:35:44 +01:00
parent b67bd0ade4
commit 179b581864

View file

@ -1,4 +1,4 @@
CREATE TABLE IF NOT EXISTS Respondants (
CREATE TABLE IF NOT EXISTS Respondents (
name VARCHAR(255) PRIMARY KEY
);
@ -8,7 +8,7 @@ CREATE TABLE IF NOT EXISTS Answers (
answerThree INT,
answerFour INT,
name VARCHAR(255),
FOREIGN KEY (name) REFERENCES Respondants(name)
FOREIGN KEY (name) REFERENCES Respondents(name)
);
INSERT INTO Respondants (name) VALUES ('user1');