Db2 Developer-C 11.1
Firebird 3.0
MariaDB 10.2 (unavailable)
MariaDB 10.3
MariaDB 10.4
MariaDB 10.5
MariaDB 10.6
MySQL 5.5
MySQL 5.6
MySQL 5.7
MySQL 8.0
Oracle 11g Release 2
Oracle 18c
Oracle 21c
Postgres 8.4 (unavailable)
Postgres 9.4 (unavailable)
Postgres 9.5
Postgres 9.6
Postgres 10
Postgres 11
Postgres 12
Postgres 13
Postgres 14
SQLite 3.8 (unavailable)
SQLite 3.16 (unavailable)
SQLite 3.27
SQL Server 2012 (unavailable)
SQL Server 2014
SQL Server 2016
SQL Server 2017
SQL Server 2017 (Linux)
SQL Server 2019
SQL Server 2019 (Linux)
YugabyteDB 2.6
YugabyteDB 2.8
No sample DB
run
clear
markdown
compare
help
best fiddles
feedback
Fiddle Statistics
MySQL 8.0
SQLite 3.27
Oracle 18c
Firebird 3.0
MariaDB 10.4
MySQL 5.7
MySQL 5.6
MySQL 5.5
MariaDB 10.3
Db2 Developer-C 11.1
SQL Server 2014
SQL Server 2016
SQL Server 2017
SQL Server 2017 (Linux)
SQL Server 2019 (Linux)
SQL Server 2019
YugabyteDB 2.8
Oracle 21c
MariaDB 10.5
Oracle 11g Release 2
Node.js 18
MariaDB 10.6
YugabyteDB 2.6
Postgres 12
Postgres 9.5
Postgres 11
Postgres 10
Postgres 9.6
Postgres 13
Postgres 14
≡
clear
markdown
feedback
By using db<>fiddle, you agree to license everything you submit by
Creative Commons CC0
.
3601427 fiddles created (48008 in the last week).
CREATE TABLE dbo.Section_suw ( Section varchar(50) NULL ) INSERT INTO dbo.Section_suw (Section.Section) VALUES ('1') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('AB1') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('A1') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('B2') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('A11') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('B20') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('B21') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('AB10') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('B3') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('AB100') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('2') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('B1') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('B32') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('11') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('A10') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('A1B') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('A180') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('A189') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('180a') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('18a') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('18b') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('A18') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('A19') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('19B') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('100') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('Superman') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('Aquaman') INSERT INTO dbo.Section_suw (Section.Section) VALUES ('S')
28 rows affected
hidden batch(es)
SELECT Section FROM dbo.Section_suw ORDER BY ISNULL(TRY_CAST(Section as int),2147483647),Section
Section
1
2
11
100
180a
18a
18b
19B
A1
A10
A11
A18
A180
A189
A19
A1B
AB1
AB10
AB100
Aquaman
B1
B2
B20
B21
B3
B32
S
Superman
…
hidden batch(es)