SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
CREATE table cliente( id int not null primary key AUTO_INCREMENT, nome varchar(10), email varchar(10) ); alter table cliente add cep char(9) not null; alter table cliente add rede_social varchar(30); alter table cliente add cpf char(11); alter table cliente drop column email; alter table cliente modify column nome varchar(30) not null; alter table cliente rename column rede_social to social; alter table cliente add constraint cpf_uniq unique(cpf); alter table cliente drop constraint cpf_uniq; desc cliente;

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear