SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
CREATE TABLE Bahnstation ( Name VARCHAR(30), Barrierefrei BOOLEAN, Unterirdisch BOOLEAN, Toiletten INTEGER, PRIMARY KEY (Name), CHECK (Toiletten >= 0), CHECK (Name LIKE '___%'), CHECK (Barrierefrei IN (0, 1)), CHECK (Unterirdisch IN (0, 1)) ); INSERT INTO Bahnstation VALUES ('Schildesche', 1, 0, 4);

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear