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(20); alter table cliente drop column cep; alter table cliente modify column nome varchar(40) not null; alter table cliente rename column rede_social to social; alter table cliente add cpf_uniq varchar(14); alter table cliente add constraint unique(cpf); alter table cliente drop constraint cpf_uniq; desc cliente;

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear