SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
--select customer_id, sum(amount) as summa from payment GROUP BY 1 --ORDER BY amount select customer_id, SUM(amount) as summa from payment group by customer_id having summa >50 order by customer_id
Stuck with a problem? Got Error? Ask ChatGPT!
Copy Clear