[Input]

[Problem]
[Output]

[Answer]
select date_format(event_time, "%Y%m") as yearmonth
,count(distinct user_id) as cnt
from funnel
where 1=1
and event_time between current_date() - interval 6 month and current_date()
group by date_format(event_time, "%Y%m");