prism
This commit is contained in:
@@ -224,3 +224,11 @@ where action_id = (select action_id from actions where action = 'entity-death')
|
||||
and timestamp > EXTRACT(EPOCH FROM current_timestamp(0))::bigint - 86400 * 1
|
||||
group by affected_entity_type_id, entity_types.entity_type
|
||||
order by count(*) desc;
|
||||
|
||||
-- 1天内的 block-form 行为按坐标分组
|
||||
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-form')
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user