Query editor
with all_swaps as (select * from dex.trades where project_contract_address = 0x9b3423373e6e786c9ac367120533abe4ee398373),unique_buyers as (SELECTCOUNT(DISTINCT tx_from) AS unique_buyersFROMall_swapsWHEREtoken_bought_symbol = 'DOG'),total_volume as (SELECTSUM(amount_usd) AS total_volume_usdFROMall_swaps),no_txns as (SELECTCOUNT(DISTINCT tx_hash) AS no_txnsFROMall_swaps),average_buy_volume as (SELECTAVG(amount_usd) AS average_buy_volumeFROMall_swapsWHEREtoken_bought_symbol = 'DOG'),average_sell_volume as (SELECTAVG(amount_usd) AS average_sell_volumeFROMall_swapsWHEREtoken_bought_symbol = 'WETH')SELECTunique_buyers.unique_buyers,total_volume.total_volume_usd,no_txns.no_txns,average_buy_volume.average_buy_volume,average_sell_volume.average_sell_volumeFROMunique_buyersCROSS JOIN total_volumeCROSS JOIN no_txnsCROSS JOIN average_buy_volumeCROSS JOIN average_sell_volume