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

View File

@@ -165,10 +165,10 @@ where action_id = (select action_id from actions where action = 'block-break')
and timestamp > EXTRACT(EPOCH FROM current_timestamp(0))::bigint - 86400 * 1
limit 100;
-- 1天内发射器的数据,按发射的物品分组统计
-- 1天内item-dispense行为,按发射的物品分组统计
select descriptor, count(*)
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
group by descriptor
order by count(descriptor) desc;