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 customers ( name char(25), driversLicense char(50) ); INSERT INTO customers VALUES ('Sally Phillips', 'NY774055434'); INSERT INTO customers VALUES ('Steven Smith', 'NY160423658'); INSERT INTO customers VALUES ('Gary Moore', 'MA942299072'); INSERT INTO customers VALUES ('Bill Barnes', 'CT896900826'); INSERT INTO customers VALUES ('Mary Anderson', 'NY132497102'); SELECT * from customers; CREATE TABLE vehicles ( Year char(25), Make char(25), Model char(25), Trim char(25), Mileage char(25), Color char(25), Price char(25), Vin char(25), Buyer char(25) ); INSERT INTO vehicles VALUES ('2010', 'FORD', 'TAURUS', 'SEL', '2572', 'White', '25600', '1FAHP2EW1AG163911', ' '); INSERT INTO vehicles VALUES ('2008', 'JEEP', 'GR CHEROKEE', '4x4 LIMITED', '33860', 'White', '23700', '1J8HR582X8C117809', '1'); INSERT INTO vehicles VALUES ('2007', 'JEEP', 'GR CHEROKEE', '4x4 LIMITED', '20155', 'White', '21900', '1J8HR58257C662217', ' '); INSERT INTO vehicles VALUES ('2009', 'FORD', 'ESCAPE', '4x2 LIMITED', '11354', 'Green', '21100', '1FMCU04G69KB01856', ' '); INSERT INTO vehicles VALUES ('2008', 'DODGE', 'GHARGER', 'R/T', '34602', 'Yellow', '20250', '2B3LA53H38H185713', ' '); INSERT INTO vehicles VALUES ('2008', 'LINCOLN', 'MKZ', ' ', '15772', 'Red', '20250', '3LNHM26T08R656808', ' '); INSERT INTO vehicles VALUES ('2009', 'CHEVROLET', 'TRAILBLAZER', '4x4 LT', '35635', 'White', '19000', '1GNDT33SX92102535', ' '); INSERT INTO vehicles VALUES ('2008', 'DODGE', 'RAM 1550', '4x4 QD', '68314', 'Green', '18600', '1D7HU18268J115846', ' '); INSERT INTO vehicles VALUES ('2009', 'FORD', 'FUSION', 'SEL', '34595', 'Grey', '13950', '3FAHP08119R159916', '1'); INSERT INTO vehicles VALUES ('2007', 'MERCURY', 'GRAND MARQUIS', 'GS', '19128', 'Gold', '11750', '2MEFM74VX7X617445', ' '); INSERT INTO vehicles VALUES ('2006', 'CHEVROLET', 'COBALT', 'LT', '48021', 'White', '7375', '1G1AL55F167732362', ' '); INSERT INTO vehicles VALUES ('2007', 'BUICK', 'LUCERNE', 'CX', '36225', 'Tan', '13050', '1G4HP57247U112723', '4'); INSERT INTO vehicles VALUES ('2009', 'HYUNDAI', 'SONATA', '4C GLS', '30162', 'Tan', '11600', '5NPET46C89H532795', ' '); INSERT INTO vehicles VALUES ('2007', 'JEEP', 'COMPASS', '4x4', '33296', 'Silver', '14050', '1J8FF47WX7D357711', ' '); INSERT INTO vehicles VALUES ('2008', 'FORD', 'FOCUS', 'SES', '35668', 'Silver', '11350', '1FAHP33N68W238747', ' '); INSERT INTO vehicles VALUES ('2001', 'FORD', 'EXPLORER', '4x4 SPORT', '61777', 'Blue', '5325', '1FMYU70E81UB70673', ' '); INSERT INTO vehicles VALUES ('2008', 'MERCEDES-BENZ', 'ML320', ' ', '50543', 'Black', '35400', '4JGBB22E18A355249', ' '); INSERT INTO vehicles VALUES ('2011', 'CADILLAC', 'STS', 'AWD', '14028', 'Black', '42800', '1G6DD67V280199562', '5'); INSERT INTO vehicles VALUES ('1999', 'CADILLAC', 'ELDORADO', ' ', '58956', 'Black', '4350', '1G6EL12Y4XU607787', ' '); INSERT INTO vehicles VALUES ('2008', 'LAMBORGHINI', 'GALLARDO', 'SPYDER', '4895', 'Black', '139900', 'ZHWGU22T28LA06389', ' '); SELECT * from vehicles;
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