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
-- Hint: use Ctrl+Enter for SQL autocomplete create table sales (guest_id int, point int); insert into sales values (1, 1), (1, 2), (1, 3), (2, 2), (2, 3), (2, 4) ; select point, count(distinct guest_id) as guest_count from sales group by point;

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

Copy Clear