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

SQLize Online / PHPize Online  /  SQLtest Online

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.

Copy Format Clear
CREATE FUNCTION sort_func(str text) RETURNS text AS $$ SELECT string_agg(x, ' ') FROM (SELECT UNNEST(regexp_split_to_array(str, '\W')) x ORDER BY 1) c WHERE length(x) > 0; $$ LANGUAGE SQL; END; SELECT sort_func('это текст который имеет некоторые характеристики реального');

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear