SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
SELECT Phone, STRING_AGG(customerID, ',') AS CustomerIDs FROM customer GROUP BY phone HAVING COUNT(phone) > 1 ORDER BY phone; ; SELECT 'Last_query_cost' AS "Variable_name", 0 AS "Value";

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear