SQLize
Online
/
PHPize Online
/
SQLtest Online
A
A
A
Share
Donate
Blog
Popular
Donate
A
A
A
Share
Blog
Popular
SQLize.online is a free online SQL environment for quickly running, experimenting with and sharing code.
You can run your SQL code on top of the most popular RDBMS including MySQL, MariaDB, SQLite, PostgreSQL, Oracle and Microsoft SQL Server.
SQL code:
Upload
Copy
Format
Clear
create table aluno( id_aluno int not null, ra int not null unique, nome varchar (100) not null, constraint PK_id_aluno primary key(id_aluno) ); create table prova ( id_prova int not null, nota decimal(3, 1), id_aluno INT not null, constraint pk_id_prova PRIMARY KEY(id_prova), constraint fk_id_aluno FOREIGN KEY (id_aluno) REFERENCES aluno(id_aluno) ); insert into aluno values (1,1234,'Joana'); insert into prova values (1,8.7,1); insert into prova values (2,9.5,1); -- select * from aluno; -- select * from prova; select a.id_aluno, a.ra, a.nome, b.nota from aluno a inner join prova b on a.id_aluno = b.id_aluno;
SQL
Server:
MariaDB 11.4
MariaDB 11.5
MariaDB 10
MariaDB 10 Sakila (ReadOnly)
MySQL 5.7
MySQL 5.7 Sakila (ReadOnly)
MySQL 8.0
MySQL 8.0 Sakila (ReadOnly)
SQLite 3
SQLite 3 Preloaded
PostgreSQL 10 Bookings (ReadOnly)
PostgreSQL 11
PostgreSQL 12
PostgreSQL 13
PostgreSQL 14
PostgreSQL 15
MS SQL Server 2017
MS SQL Server 2019
MS SQL Server 2022
MS SQL Server 2022 AdventureWorks (ReadOnly)
Firebird 4.0
Firebird 4.0 (Employee)
Oracle Database 19c (HR)
Oracle Database 21c
Oracle Database 23c Free
SOQOL
Version
ER Diagram
Preserve result
Stuck with a problem?
Got Error?
Ask ChatGPT!
Result:
Copy
Clear