SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select (DATE_FORMAT(payment_date,'ГГГГ-ММ')) as payment_month, sum(amount) as payment_amount from payment group by payment_month

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear