Query editor
/* Migration success :)There are some cases such as unnest/sequence and array/json functions the migrator won't take care of for you(but we have examples of in the docs linked above!)If you're still running into issues, check out the doc examples https://dune.com/docs/reference/dune-v2/query-engine/or reach out to us in the Dune discord in the #dune-sql channel.*/SELECTSUM(amount_usd)/1e9 AS billion_volumeFROM dex.trades tWHERE block_time > now() - interval '7' day