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_NameRegistered */SELECTmonth(evt_block_time), SUM(total_register_BNB)/1e18 AS total_regiseter_bnbFROM(SELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV3_evt_NameRegisteredUNION ALLSELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV4_evt_NameRegisteredUNION ALLSELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV5_evt_NameRegisteredUNION ALLSELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV6_evt_NameRegisteredUNION ALLSELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV7_evt_NameRegisteredUNION ALLSELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV8_evt_NameRegisteredUNION ALLSELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV9_evt_NameRegisteredUNION ALLSELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV10_evt_NameRegisteredUNION ALLSELECTevt_block_time, cost AS total_register_BNBFROMspaceid_bnb.BNBRegistrarControllerV11_evt_NameRegisteredunion allselectevt_block_time, cost AS total_register_BNBfromspaceid_bnb.RegistrarController_evt_NameRegistered) AS a