Query editor
withraw_airdrop_allocation_by_account as (select*fromquery_5571165), airdrop_allocation_general_stats as (selectcount(1) as account_count, sum(raw_allocation_amount) as total_raw_allocation_amount, max(raw_allocation_amount) as max_raw_allocation_amount, min(raw_allocation_amount) as min_raw_allocation_amount, avg(raw_allocation_amount) as mean_raw_allocation_amount, approx_percentile(raw_allocation_amount, 0.05) as p05_raw_allocation_amount, approx_percentile(raw_allocation_amount, 0.50) as p50_raw_allocation_amount, approx_percentile(raw_allocation_amount, 0.95) as p95_raw_allocation_amount, sum(raw_allocation_amount) / 1e18 as total_allocation_amount, max(raw_allocation_amount) / 1e18 as max_allocation_amount, min(raw_allocation_amount) / 1e18 as min_allocation_amount, avg(raw_allocation_amount) / 1e18 as mean_allocation_amount, approx_percentile(raw_allocation_amount, 0.05) / 1e18 as p05_allocation_amount, approx_percentile(raw_allocation_amount, 0.50) / 1e18 as p50_allocation_amount, approx_percentile(raw_allocation_amount, 0.95) / 1e18 as p95_allocation_amountfromraw_airdrop_allocation_by_account)select*fromairdrop_allocation_general_stats