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