Closed shordeaux closed 9 years ago
SELECT date_format(renew_at, '%Y-%m') as month, sum(amount) FROM subscription group by month
subscription
SELECT date_format(renew_at, '%Y-%m') as month, sum(amount) FROM
subscription
group by month