각각의 “solved” 이벤트를 나열하려면 다음과 같은 쿼리를 사용할 수 있습니다:
SELECT
acting_user_id,
target_topic_id AS topic_id,
target_post_id,
created_at::date
FROM user_actions
WHERE action_type=15
ORDER BY created_at DESC
각각의 “solved” 이벤트를 나열하려면 다음과 같은 쿼리를 사용할 수 있습니다:
SELECT
acting_user_id,
target_topic_id AS topic_id,
target_post_id,
created_at::date
FROM user_actions
WHERE action_type=15
ORDER BY created_at DESC