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 s ( server varchar (64), ip varchar(64) ); INSERT INTO s VALUES ('server1', '127.0.0.1'); INSERT INTO s VALUES ('server1', '192.168.0.1'); SELECT (server || ': ' || LISTAGG(ip, ',')) as Servers FROM s GROUP BY server;

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

Copy Clear