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 tbl_trainer( tr_id int primary key, tr_name varchar(10), tr_rank int, tr_grade decimal(6,4), tr_bdate date ); create table tbl_monster( mns_id int primary key, mns_name varchar(50), mns_power decimal(6,4), tr_id int ); insert into tbl_trainer (tr_id, tr_name, tr_rank, tr_grade, tr_bdate) values (1, 'Ash', 1, 88, '1998-10-23'), (2, 'Isa', 2, 86, '2001-02-18'), (3, 'Gary', 1, 90, '1994-09-15'); insert into tbl_monster (mns_id, mns_name, mns_power, tr_id) values (1, 'Pika', 89, 1), (2, 'Bulba', 90, 1), (3, 'Poka', 87, 1), (4, 'Charman', 92, 3), (5, 'Amanwo', 87, 3); -- 1 select tr_name from tbl_trainer; -- 2 select tr_name from tbl_trainer where tr_bdate > '1994-01-01' and tr_bdate < '2000-12-31'; select * from tbl_monster;
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
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