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
SET SESSION group_concat_max_len = 1000000;; select rental_date as meet_time, s.store_id, group_concat( concat (c.first_name,' ', c.last_name) order by c.last_name ) as customers from rental as r,staff as s,store,customer as c where s.staff_id=r.staff_id and store.store_id=s.store_id and c.customer_id=r.customer_id group by rental_date,s.store_id having count(r.customer_id)>1 order by rental_date,s.store_id ; show status like 'Last_query_cost';

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

Copy Clear