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 asd(name int check(name=1), age int(1) primary key); create table qwe(mane int, gae int(1) references asd(age)); alter table qwe add constraint chk check(mane>2); show create table qwe; alter table qwe drop constraint chk; alter table asd modify column name int; show create table asd; show create table qwe;

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

Copy Clear