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 student ( id uniqueidentifier, name varchar(50), age int not null, constraint pk_student primary key(id), constraint default_age default(2) for (age) insert into student (id,name) values(NEWID(),'A'); select * from student

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

Copy Clear