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 Utilisateurs ( utilisateur_id INT PRIMARY KEY, nom VARCHAR(50), email VARCHAR(100) ); CREATE TABLE Taches ( tache_id INT PRIMARY KEY, titre VARCHAR(100), description VARCHAR(1000), date_creation DATE, date_echeance DATE, statut VARCHAR(20) ); CREATE TABLE Assignations ( assignation_id INT PRIMARY KEY, tache_id INT REFERENCES Taches(tache_id), assigne_id INT REFERENCES Utilisateurs(utilisateur_id) ); INSERT INTO Utilisateurs VALUES (1, 'John Doe', 'john.doe@example.com'); INSERT INTO Utilisateurs VALUES (2, 'Jane Smith', 'jane.smith@example.com'); INSERT INTO Taches VALUES (1, 'Développer des tâches', 'Développer des tâches',DATE'2024-02-10', DATE'2024-05-10' , 'En cours'); INSERT INTO Assignations VALUES (1, 1, 2); SELECT * FROM Utilisateurs; SELECT * FROM Taches; CREATE VIEW TaskAssignments AS SELECT tache_id, titre, description FROM Taches WHERE titre = 'Développer des tâches'; SELECT * FROM TaskAssignments; CREATE FUNCTION CountTasks() RETURNS INT BEGIN DECLARE task_count INT; SELECT COUNT(*) INTO task_count FROM taches; RETURN task_count; END;
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