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 tbl (name varchar primary key, age int, val int); INSERT INTO tbl (name, age, val) VALUES ('Alex', 19, 5467); select * from tbl; INSERT INTO tbl (name, age, val) VALUES ('Alex', 19, 5467), ('Elton', 23, 1200), ('Casper', 34, 49712) ON CONFLICT (name) DO NOTHING; select * from tbl;

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

Copy Clear