Data Explorer에서 실행할 쿼리를 찾았습니다. 내용은 다음과 같습니다:
SELECT term, count(*) searches,
sum(case when search_result_id is not null then 1 else 0 end) clicks,
round(sum(case when search_result_id is not null then 1 else 0 end) * 100.0 / count(*), 1) as ctr
from search_logs
where created_at > current_timestamp - interval '30' day
group by term
order by count(*) desc
따라서 제가 드리는 마지막, 정말 마지막 질문은 이렇습니다: Automation에서 이 쿼리를 실행하여 결과를 이메일 본문에 게시하는 대신 수신자의 이메일에 첨부된 CSV 파일로 변환할 방법이 있을까요?