Query editor
SELECTplayerAddress,SUM(total_wager) / 1e18 AS total_wagerFROM (-- Arcade from the original sourceSELECTplayerAddress,wager * numberOfBets AS total_wagerFROM ridotto_games_bnb.Arcade_evt_ActionUNION ALL-- Arcade from the v3 sourceSELECTplayerAddress,wager * numOfBets AS total_wagerFROM ridotto_v3_bnb.bsc_staging_arcade_evt_ActionUNION ALL-- CoinFlip from the original sourceSELECTplayerAddress,wager * numberOfBets AS total_wagerFROM ridotto_games_bnb.CoinFlip_evt_FlipUNION ALL-- CoinFlip from the v3 sourceSELECTplayerAddress,wager * numberOfBets AS total_wagerFROM ridotto_v3_bnb.bsc_staging_coinflip_evt_FlipUNION ALL-- Dice from the original sourceSELECTowner AS playerAddress,wager * numBets AS total_wagerFROM ridotto_games_bnb.Dice_evt_DiceRollUNION ALL-- Dice from the v3 sourceSELECTowner AS playerAddress,wager * numBets AS total_wagerFROM ridotto_v3_bnb.bsc_staging_dice_evt_DiceRollUNION ALL-- Plinko from the v3 sourceSELECTplayerAddress,wager * numberOfBets AS total_wagerFROM ridotto_v3_bnb.bsc_staging_plinko_evt_PlayUNION ALL