[MySQL]獲取當月每一天

經常使用使用場景: 統計某個月(某個時間區間)內每一天的數據量  select date_add(curdate(), interval(cast(help_topic_id as signed integer) - 1) day) day from mysql.help_topic where help_topic_id < day(last_day(curdate())) order by
相關文章
相關標籤/搜索