From 57439d1515e74aafb2c379ecc1b413d4d0c08770 Mon Sep 17 00:00:00 2001 From: Fortern Date: Sat, 23 May 2026 09:25:36 +0800 Subject: [PATCH] prism --- PostgreSQL/prism/prism.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PostgreSQL/prism/prism.sql b/PostgreSQL/prism/prism.sql index a83d1c6..f596015 100644 --- a/PostgreSQL/prism/prism.sql +++ b/PostgreSQL/prism/prism.sql @@ -95,7 +95,7 @@ where action_id = (select action_id from actions where action = 'block-break') group by activities.cause_id, causes.cause order by count(activities.cause_id) desc; --- 1天内,非玩家触发的 block-break 行为,按 type_id 分组 +-- 1天内,非玩家触发的 block-break 行为,按 cause_entity_type_id 分组 select activities.cause_entity_type_id, entity_types.entity_type, count(*) from activities left join entity_types on activities.cause_entity_type_id = entity_types.entity_type_id