This commit is contained in:
2025-12-23 04:17:12 +08:00
parent 8603108d2c
commit ddce9ae3ba

View File

@@ -98,6 +98,15 @@ where action_id = (select action_id from actions where action = 'block-break')
group by activities.cause_entity_type_id, entity_types.entity_type group by activities.cause_entity_type_id, entity_types.entity_type
order by count(activities.cause_id) desc; order by count(activities.cause_id) desc;
-- 1天内非明确实体触发的block-break行为按坐标分组
select world_id, x, y, z, count((world_id, x, y, z))
from activities
where action_id = (select action_id from actions where action = 'block-break')
and cause_id is not null
and timestamp > EXTRACT(EPOCH FROM current_timestamp(0))::bigint - 86400 * 1
group by world_id, x, y, z
order by count((world_id, x, y, z)) desc;
-- 1天内风弹实体触发的 block-break 行为,按坐标分组 -- 1天内风弹实体触发的 block-break 行为,按坐标分组
select world_id, x, y, z, count((world_id, x, y, z)) select world_id, x, y, z, count((world_id, x, y, z))
from activities from activities