Query editor
/* Success! If you're still running into issues, check out https://dune.com/docs/query/syntax-differences/ or reach out in the #dune-sql Discord channel. *//* select sum(cost) from spaceid_bnb.BNBRegistrarControllerV3_evt_NameRenewed */SELECTyear(evt_block_time),month(evt_block_time), SUM(total_register_BNB)/1e18 AS total_regiseter_bnbFROM(SELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV3_evt_NameRenewedUNION ALLSELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV4_evt_NameRenewedUNION ALLSELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV5_evt_NameRenewedUNION ALLSELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV6_evt_NameRenewedUNION ALLSELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV7_evt_NameRenewedUNION ALLSELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV8_evt_NameRenewedUNION ALLSELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV9_evt_NameRenewedUNION ALLSELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV10_evt_NameRenewedUNION ALLSELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV11_evt_NameRenewedUNION ALLselectevt_block_time, cost AS total_register_BNBfromspaceid_bnb.RegistrarController_evt_NameRenewedUNION ALLselectevt_block_time, cost AS total_register_BNBfromspaceid_bnb.RenewController_evt_NameRenewed