This commit is contained in:
2026-01-22 21:44:55 +08:00
parent 7dbc3aefde
commit fe694579f1

View File

@@ -190,6 +190,14 @@ where action_id = (select action_id from actions where action = 'item-dispense')
group by world_id, x, y, z group by world_id, x, y, z
order by count((world_id, x, y, z)) desc; order by count((world_id, x, y, z)) desc;
-- 1天内item-dispense行为按坐标与物品分组
select world_id, x, y, z, descriptor, count((world_id, x, y, z, descriptor))
from activities
where action_id = (select action_id from actions where action = 'item-dispense')
and timestamp > EXTRACT(EPOCH FROM current_timestamp(0))::bigint - 86400 * 1
group by world_id, x, y, z, descriptor
order by count((world_id, x, y, z, descriptor)) desc;
-- 1天内发射的矿车按坐标分组 -- 1天内发射的矿车按坐标分组
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