以下の 2 つのクエリを 1 つのクエリに結合するにはどうすればよいですか?
select count(distinct user_id) as action_1_count, date
from table
where action = "action_1"
group by date;
select count(distinct user_id) as action_2_count, date
from table
where action = "action_2"
group by date;