Query editor
WITH nftCollections AS (SELECT collection, nft_contract_address FROM nft.trades WHERE nft_contract_address IN (SELECT DISTINCT(tokenAddress) FROM dune.limitbreakteam.result_payment_processor_v2) GROUP BY collection, nft_contract_address)SELECTnetwork,nftCollections.collection,COUNT(*) as trades,SUM(salePriceUSD) as volumeUSD,tokenAddressFROMdune.limitbreakteam.result_payment_processor_v2 JOIN nftCollections on tokenAddress = nftCollections.nft_contract_addressWHEREversion={{Version}} ANDnetwork={{Chain}} ANDpaymentCoin={{Payment Coin}} ANDchannel={{Channel}}GROUP BY nftCollections.collection, tokenAddress, networkORDER BY volumeUSD DESC