SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
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 ChatGPT!
Copy Clear