Query editor
SELECT DATE_TRUNC('day',time) AS day,project,pool_address,token_pair,CONCAT(project,': ',token_pair) AS project_pair,SUM(amount_usd) AS amount_usd,SUM(token_qt) AS token_qtFROM (SELECT time,project,pool_address,token_pair,blockchain,lrt_token_address,eth_price,lrt_eth_rate-- ,lrt_usd_price,amount_usd,token_qtFROM query_3764076WHERE lrt_token_address = 0xe72b141df173b999ae7c1adcbf60cc9833ce56a8)WHERE time >= NOW() - interval '3' monthGROUP BY 1,2,3,4,5