近一年的所有月份
select DATE_FORMAT(date_add(curdate(), interval(cast(help_topic_id as signed integer) - 12) month), '%Y-%m') day
from mysql.help_topic
where help_topic_id <= 11
order by help_topic_id
近7天的所有日期
select date_add(curdate(), interval(cast(help_topic_id as signed integer) - 6) day) day
from mysql.help_topic
where help_topic_id <= 6
order by help_topic_id
近30天的所有日期
```sql
select date_add(curdate(), interval(cast(help_topic_id as signed integer) - 29) day) day
from mysql.help_topic
where help_topic_id <= 29
order by help_topic_id