
세션 유지 시간을 10분으로 재정의하기-- 세션을 종료하는 기준을 사용자가 10분 이상 행동하지 않을 때로 수정하여,-- 사용자 'a8Xu9GO6TB’의 세션을 재정의해 세션 ID를 계산하는 쿼리 작성WITH filtered AS ( SELECT event_timestamp_kst , TIMEDIFF(event_timestamp_kst, LAG(event_timestamp_kst, 1) OVER(ORDER BY event_timestamp_kst)) AS diff_prev , user_pseudo_id , event_name , ga_session_id FROM ga WHERE user_pseudo_id = 'a8Xu9GO6TB' ORDER BY even..