Query editor
WITH usdt_eth AS (SELECT COUNT(DISTINCT _user) as cntFROM tether_ethereum.Tether_USD_evt_AddedBlackList),usdt_eth_removed AS (SELECT COUNT(DISTINCT _user) as cntFROM tether_ethereum.Tether_USD_evt_RemovedBlackList),usdc_eth AS (SELECT COUNT(DISTINCT _account) as cntFROM circle_ethereum.USDC_evt_Blacklisted),usdc_eth_removed AS (SELECT COUNT(DISTINCT _account) as cntFROM circle_ethereum.USDC_evt_UnBlacklisted),usdt_destroyed AS (SELECT COALESCE(SUM(_balance / 1e6), 0) as total_destroyedFROM tether_ethereum.Tether_USD_evt_DestroyedBlackFunds)SELECT(SELECT cnt FROM usdt_eth) AS usdt_total_blacklisted,(SELECT cnt FROM usdt_eth) - (SELECT cnt FROM usdt_eth_removed) AS usdt_currently_frozen,(SELECT cnt FROM usdc_eth) AS usdc_total_blacklisted,(SELECT cnt FROM usdc_eth) - (SELECT cnt FROM usdc_eth_removed) AS usdc_currently_frozen,(SELECT total_destroyed FROM usdt_destroyed) AS usdt_destroyed_usd,ROUND(CAST((SELECT cnt FROM usdt_eth) AS DOUBLE) / NULLIF((SELECT cnt FROM usdc_eth), 0), 1) AS enforcement_ratio