Hi! Could we please enable some services and cookies to improve your experience and our website?

SQLize | PHPize | SQLtest

Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code

A A A
Login    Share code      Blog   FAQ
Copy Format Clear
create table #t1 (s varchar(20)) insert into #t1 values ('1.2.1') insert into #t1 values ('1.2.2') insert into #t1 values ('1') insert into #t1 values ('1.1') insert into #t1 values ('1.2') insert into #t1 values ('1.3') select s, REPLACE(s, '.', '') from #t1 order by 2 drop table #t1

Stuck with a problem? Got Error? Ask AI support!

Copy Clear