prism
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user