This commit is contained in:
2026-01-04 17:16:22 +08:00
parent 362ef3489b
commit f5b352c036

View File

@@ -173,14 +173,14 @@ where action_id = (select action_id from actions where action = 'item-dispense')
group by descriptor
order by count(descriptor) desc;
-- 1天内发射的潜影盒,按坐标分组
select descriptor, count(*)
-- 1天内发射的矿车,按坐标分组
select world_id, x, y, z, count((world_id, x, y, z))
from activities
where action_id = 2
where action_id = (select action_id from actions where action = 'item-dispense')
and timestamp > EXTRACT(EPOCH FROM current_timestamp(0))::bigint - 86400 * 1
and descriptor = 'Shulker Box'
group by descriptor
order by count(descriptor) desc;
and descriptor = 'Minecart'
group by world_id, x, y, z
order by count((world_id, x, y, z)) desc;
-- 1天内的 entity-death 行为按玩家分组
select cause_player_id, players.player, count(*)