🌈 搜索
📅  最后修改于: 2022-03-11 15:05:32.245000             🧑  作者: Mango
SELECT MONTHNAME(o_date), SUM(total) FROM theTable GROUP BY YEAR(o_date), MONTH(o_date)