Query editor
1SELECT2 DATE_TRUNC('month', block_time) AS month,3 project,4 SUM(amount_usd) AS volume5FROM dex_solana.trades6GROUP BY 1,27ORDER BY 1, volume DESC;
SELECT
DATE_TRUNC('month', block_time) AS month,
project,
SUM(amount_usd) AS volume
FROM dex_solana.trades
GROUP BY 1,2
ORDER BY 1, volume DESC;