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

SQLize Online / PHPize Online  /  SQLtest Online

A A A
Login    Share code      Blog   FAQ

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

Copy Format Clear
create table test (id int, name varchar(64)); insert into test values (1, 'a'), (3, 'b'), (97, 'c'); select * from test; alter table test drop column id; alter table test add column id int primary key auto_increment first; select * from test;

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

Copy Clear