Query editor
WITH institutional_trades AS(SELECTdate_trunc('month', block_date) AS Month, COUNT(tx_hash) as tx_countFROM dex.tradesWHERE amount_usd > 1000000AND block_date >= NOW() - interval '12' monthGROUP BY 1), med_institutional_traders AS (SELECTdate_trunc('month', block_date) AS Month, COUNT(tx_hash) as tx_countFROM dex.tradesWHERE amount_usd > 500000 AND amount_usd <= 1000000AND block_date >= NOW() - interval '12' monthGROUP BY 1), small_institutional_traders AS (SELECTdate_trunc('month', block_date) AS Month, COUNT(tx_hash) as tx_countFROM dex.tradesWHERE amount_usd > 100000 AND amount_usd <= 500000AND block_date >= NOW() - interval '12' monthGROUP BY 1), big_retail_traders AS (SELECTdate_trunc('month', block_date) AS Month, COUNT(tx_hash) as tx_countFROM dex.tradesWHERE amount_usd > 10000 AND amount_usd <= 100000AND block_date >= NOW() - interval '12' monthGROUP BY 1), retail_traders AS (SELECTdate_trunc('month', block_date) AS Month, COUNT(tx_hash) as tx_countFROM dex.tradesWHERE amount_usd > 0 AND amount_usd <= 10000AND block_date >= NOW() - interval '12' monthGROUP BY 1), big_trade_combo AS (SELECTdate_trunc('month', block_date) AS Month, COUNT(tx_hash) as tx_countFROM dex.tradesWHERE amount_usd > 100000AND block_date >= NOW() - interval '12' monthGROUP BY 1), all_trades AS(