Query editor
SELECT-- 1. Create the 'day' columndate_trunc('day', block_time) AS day,-- 2. Sum the USD amount for all sales within that daySUM(amount_usd) AS daily_volume_usdFROM nft.tradesWHEREnft_contract_address = 0xBd3531dA5CF5857e7CfAA92426877b022e612cf8AND blockchain = 'ethereum'GROUP BY-- 3. Group by the function itselfdate_trunc('day', block_time)ORDER BY-- 4. FIX: Ensure there is a space between the function and DESCdate_trunc('day', block_time) DESC