Projektutvecklingslab/database.sql
2024-02-14 18:29:54 +01:00

12 lines
No EOL
272 B
SQL

CREATE TABLE IF NOT EXISTS Respondants (
name VARCHAR(255) PRIMARY KEY
);
CREATE TABLE IF NOT EXISTS Answers (
answerOne INT,
answerTwo INT,
answerThree INT,
answerFour INT,
name VARCHAR(255),
FOREIGN KEY (name) REFERENCES Respondants(name)
);