Query editor
--Error: Query could not be fully debugged due to errors on multiple lines.--Try shortening query to try again./* select sum(cost) from spaceid."BNBRegistrarControllerV3_evt_NameRegistered" */SELECTTRY_CAST(register_time AS DATE) AS register_time,SUM(register_bnb) AS revenue_in_BNBFROM (SELECTname,owner AS minter,evt_block_time AS register_time,FROM_UNIXTIME(CAST(expires AS DOUBLE)) AS expire_time,cost / TRY_CAST(1e18 AS DOUBLE) AS register_BNB,evt_tx_hash AS tx_hashFROM spaceid_bnb.BNBRegistrarControllerV3_evt_NameRegisteredUNION ALLSELECTname,owner AS minter,evt_block_time AS register_time,FROM_UNIXTIME(CAST(expires AS DOUBLE)) AS expire_time,cost / TRY_CAST(1e18 AS DOUBLE) AS register_BNB,evt_tx_hash AS tx_hashFROM spaceid_bnb.BNBRegistrarControllerV4_evt_NameRegisteredUNION ALLSELECTname,owner AS minter,evt_block_time AS register_time,FROM_UNIXTIME(CAST(expires AS DOUBLE)) AS expire_time,cost / TRY_CAST(1e18 AS DOUBLE) AS register_BNB,evt_tx_hash AS tx_hashFROM spaceid_bnb.BNBRegistrarControllerV5_evt_NameRegisteredUNION ALLSELECTname,owner AS minter,evt_block_time AS register_time,FROM_UNIXTIME(CAST(expires AS DOUBLE)) AS expire_time,cost / TRY_CAST(1e18 AS DOUBLE) AS register_BNB,evt_tx_hash AS tx_hashFROM spaceid_bnb.BNBRegistrarControllerV6_evt_NameRegisteredUNION ALLSELECTname,owner AS minter,evt_block_time AS register_time,FROM_UNIXTIME(CAST(expires AS DOUBLE)) AS expire_time,cost / TRY_CAST(1e18 AS DOUBLE) AS register_BNB,evt_tx_hash AS tx_hashFROM spaceid_bnb.BNBRegistrarControllerV7_evt_NameRegisteredUNION ALLSELECTname,owner AS minter,evt_block_time AS register_time,FROM_UNIXTIME(CAST(expires AS DOUBLE)) AS expire_time,cost / TRY_CAST(1e18 AS DOUBLE) AS register_BNB,evt_tx_hash AS tx_hashFROM spaceid_bnb.BNBRegistrarControllerV8_evt_NameRegistered