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
select to_date ('23-11-05 00:25:46', 'dd-mm-yy hh24:mi:ss'); select DATEADD (day, 1, '23.07.24'); SELECT DATEADD(year, 1, '25.12.2017'); ALTER SESSION SET time_zone = '16:00'; ALTER DATABASE SET TIME_ZONE = '05:00'; select SESSIONTIMEZONE; select DBTIMEZONE; select CURRENT_TIMESTAMP || ' ' || sessiontimezone; select to_date ('23-11-+05 00:25:46', 'dd-mm-syy hh24:mi:ss'); create table a (a varchar (25), b date); insert into a values ('25.12.2023 11:25 PM', '27.12.2023 07:25 PM'); select * from a; insert into a (b) select a from a; select * from a; select '2023-12-25 15:25 AM'; select to_timestamp ('29-DEC-2023 11:05:36.306', 'dd-mon-yyyy hh:mi:ss.ff'); select to_date ('23-11-05 00:25:46', 'dd-mm-yy hh24:mi:ss'); select to_timestamp ('23-11-05 00:25:46', 'dd-mm-yy hh24:mi:ss'); select to_timestamp ('29-dEc-2023 3901', 'dd-mon-yyyy sssss'); select to_timestamp ('1-1-23 pm 11:5:6 001', 'dd-mm-yy pm hh:mi:ss ddd'); select to_date ('23-11-05 11:25:46 pm', 'dd-mm-yy hh:mi:ss pm'); create table t (id int constraint n null); alter table t drop constraint n; select to_timestamp ('07,21/2023 12:36:25', 'MM-dd.YYYY HH:MI:SS') as time; select to_date ('07,21/2023 friday', 'MM-dd.YYYY day'); select to_date ('07.21', 'MM-dd'); select to_date ('21-1961', 'dd-YYYY'); select to_date ('7.1925', 'MM-YYYY'); select to_timestamp ('2023-12/05 11:35:45.345', 'YYYY-MM-DD HH:MI:SS.FF'); select round (1/1292.7, 5);
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