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
show tables; create table estudantes( id_estudante int not null primary key auto_increment, nome varchar(100) not null, ra char(8) not null unique, nota decimal(3,1) not null check(nota>=0 and nota<=10) ); desc estudantes; select * from estudantes; insert into estudantes values (75,'Belarmina','12345695',9.0); insert into estudantes values (null,'Beto','12345679',9.5), (null,'Betina','12345680',7.5), (null,'Josebete','12345681',6.5); select * from estudantes; update estudantes set nota=3.5 where id_estudante=1; select * from estudantes; delete from estudantes where id_estudante=2; select * from estudantes;

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

Copy Clear