Hi! Could we please enable some services and cookies to improve your experience and our website?

SQLize | PHPize | SQLtest

Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code

A A A
Login    Share code      Blog   FAQ
Copy Format Clear
CREATE TABLE IF NOT EXISTS surveys ( survey_id BIGSERIAL PRIMARY KEY, creator VARCHAR(50) NOT NULL ); CREATE TABLE IF NOT EXISTS question_with_text_answer ( question_id BIGSERIAL PRIMARY KEY, survey_id BIGINT REFERENCES surveys(survey_id), question_number_in_the_survey INTEGER NOT NULL, type_question VARCHAR(50) NOT NULL );

Stuck with a problem? Got Error? Ask AI support!

Copy Clear