18 lines
No EOL
409 B
SQL
18 lines
No EOL
409 B
SQL
CREATE TABLE IF NOT EXISTS Respondents (
|
|
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 Respondents(name)
|
|
);
|
|
|
|
CREATE TABLE IF NOT EXISTS ProjectDetails (
|
|
projectID INT PRIMARY KEY,
|
|
projectName VARCHAR(255),
|
|
projectDescription TEXT
|
|
); |