Query editor
select ROUND(SUM(t.amount_original)) as amount,SUM(CAST(number_of_items AS integer)) as items,MONTH(t.block_time) as month,YEAR(t.block_time) as year--select *from aavegotchi.trades twhere t.nft_contract_address = 0x86935f11c86623dec8a25696e1c19a8659cbf95d--and t.buyer = 0x1a08b4d6497fa6d5970bd8f6c72bc5fbc8dd500eand t.token_standard = 'erc1155'and t.block_time >= CAST(From_iso8601_timestamp('2022-05-22T15:00:00Z') AS timestamp)group by MONTH(block_time), YEAR(t.block_time)order by YEAR(t.block_time), MONTH(block_time)