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 Workers (Name varchar(64), Salary int); insert into Workers values ('John', 5000), ('Sarah', 5000), ('Abraham', 6000), ('Bill', 6000); select STRING_AGG(Name, ',') as Names, Salary from Workers group by Salary;

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

Copy Clear