Query editor
SELECTdate_trunc('month',block_time) as date_time,SUM(amount_usd) as total_amount,AVG(amount_usd) as avg_saleFROM nft.tradesWHERE nft_contract_address = 0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBBand block_time < DATE('2021-01-01')GROUP BY 1