Query editor
with raw as(select * from bnb.traceswhere to=0xc8fe02649547c24392cccff19f32b48403183e05and block_time>date'2023-07-01'),data as(select (sum(value)*1.000)/1e18 benefits_bnb, 1 row from rawunion allselect ((select max(price) from prices.usd_latest where blockchain='bnb' and symbol='WBNB') * ((sum(value)*1.000)/1e18)) benefits_usd, 2 row from rawunion allselect count(*) number_of_tx, 3 row from raw)select * from data order by row