我需要显示 2 列。第一列应该有月份名称。第二列应该告诉我每个月发布了多少次。例如:
Month number_of_releases
January 4
March 9
December 2
到目前为止,我有这个:
SELECT DISTINCT MONTHNAME(date) AS 'Month',
/*Here is where I need help!*/ AS 'number_of_releases'
FROM table_name;