Query editor
WITH distribution AS (SELECTcount(*) AS unique_recipient_wallets,sum(airdrop_count) AS total_airdrops,sum(total_airdropped) AS total_nfts_airdroppedFROM query_8842578),wallet_activity AS (SELECTcount(*) AS total_wallets,count_if(is_first_time_wallet) AS new_wallets,100.0 * count_if(is_first_time_wallet)/ NULLIF(count(*), 0) AS pct_new_wallets,count_if(activated) AS activated_wallets,count_if(is_first_time_walletAND activated) AS activated_new_wallets,100.0 * count_if(is_first_time_walletAND activated)/ NULLIF(count_if(is_first_time_wallet), 0)AS pct_new_wallets_activated,approx_percentile(CAST(hours_to_activation AS DOUBLE),0.5) FILTER (WHERE is_first_time_walletAND hours_to_activation IS NOT NULL) AS median_hours_to_new_wallet_activation,sum(post_tx_count) AS total_post_airdrop_txs,approx_percentile(CAST(post_tx_count AS DOUBLE),0.5) AS median_post_airdrop_txs,approx_percentile(CAST(post_active_days AS DOUBLE),0.5) AS median_post_airdrop_active_daysFROM dune.transientlabs.result_recipient_transaction_activity)SELECTd.total_airdrops,d.unique_recipient_wallets,d.total_nfts_airdropped,w.new_wallets,