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 dbname ( col1 integer, col2 integer, col3 integer, col4 integer ); create unique index col1_uniq on dbname (col1); -- success INSERT INTO dbname(col1, col2, col3, col4) VALUES (1, 2, 3, 4); -- fail INSERT INTO dbname(col1, col2, col3, col4) VALUES (1, 2, 3, 4);

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

Copy Clear