prism
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
-- 获取最旧于最新的数据
|
||||
-- 2026-01-27 19:27:12.000000 +00:00
|
||||
select to_timestamp(min(timestamp)) as min, to_timestamp(max(timestamp)) as max
|
||||
from activities;
|
||||
|
||||
@@ -153,7 +154,7 @@ order by count((world_id, x, y, z)) desc;
|
||||
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-break')
|
||||
and cause_id is not null
|
||||
and cause_id is null
|
||||
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