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 cliente ( id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, nome VARCHAR(10), email VARCHAR(10) ); desc cliente; alter table cliente; alter table cliente add data_nascimento char(8) not null; alter table cliente drop column data_nascimento; alter table cliente add data_nascimento date not null; alter table cliente drop column email; alter table cliente modify nome varchar(1000) not null; alter table cliente rename column data_nascimento to dt_nasc; alter table cliente add constraint nota check(1-11); desc cliente;

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

Copy Clear