Query editor
with t as (select evt_tx_hash,evt_block_time,playerOneOwner,gladiatorOne,playerTwoOwner,gladiatorTwofrom cyberstadium_polygon.CSCombat_evt_BattleStartedwhere contract_address = 0x3eBcEE62b21cd91347280863D2d3bCeb5DB79a01union allselect evt_tx_hash,evt_block_time,playerOneOwner,gladiatorOne,playerTwoOwner,gladiatorTwofrom cyberstadium_polygon.CSCombat_evt_BattleStartedwhere contract_address = 0x785aeb35616CFC335A656a420009cD97872169B6),w as(select tx_hash,block_time,bytearray_to_uint256(topic3) as loser from polygon.logswhere contract_address = 0x8e108e2388edad2d2b3c1ecb1582ec03c9eede0band topic0 = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef)select concat('<a href="https://polygonscan.com/tx/',cast(t.evt_tx_hash as varchar),'"> Polygonscan<a>') as tx_hash,t.evt_block_time,playerOneOwner as "Gladiator Owner 1",gladiatorOne as "Gladiator Number 1",playerTwoOwner as "Gladiator Owner 2",gladiatorTwo as "Gladiator Number 2",loser as "Loser" from tleft join won t.evt_tx_hash = w.tx_hashwhere loser is not nullorder by t.evt_block_time desc