Query editor
withstoken as (SELECT*FROM(SELECTdate_trunc('month', "evt_block_time") as month,COUNT(*) AS ethereum,0 AS polygon,0 AS arbitrumFROMdevprotocol_ethereum.STokensManager_evt_MintedGROUP BY1UNION ALLSELECTdate_trunc('month', "evt_block_time") as month,0 AS ethereum,COUNT(*) as polygon,0 AS arbitrumFROMdevprotocol_polygon.STokensManager_evt_MintedGROUP BY1UNION ALLSELECTdate_trunc('month', "evt_block_time") as month,0 AS ethereum,0 as polygon,COUNT(*) AS arbitrumFROMdevprotocol_arbitrum.STokensManager_evt_MintedGROUP BY1))SELECTmonth,SUM(ethereum) AS ethereum,SUM(polygon) AS polygon,SUM(arbitrum) AS arbitrumFROMstokenGROUP BYmonth