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 a (id int, a int); create table b (id int, b int); with d(id, a, b) as ( select * from (values (1, 10, 20), (2, 100, 200)) v(id, a, b) ), r1 as ( insert into a select id, a from d ); select * from a;

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

Copy Clear