Query editor
select*from(selectdate_trunc('hour', "block_time") as hour,count(distinct "from") as user,count(casewhen bytearray_substring("data", 1, 4) = 0x5c57c450 then 1else nullend) as missionfrompolygon.transactionswhere"to" = 0x197a3de3eeeb714c9d75b128e95486106fec3c20AND "block_time" >= date_trunc('hour', now()) - interval '24' hourgroup by1) as usertableleft join (selectdate_trunc('hour', "block_time") as airdroptime,count (*) as total,count(casewhen bytearray_substring("data", 68, 1) = 0x01 then 1else nullend) as Common,count(casewhen bytearray_substring("data", 68, 1) = 0x02 then 1else nullend) as Uncommon,count(casewhen bytearray_substring("data", 68, 1) = 0x03 then 1else nullend) as Rare,count(casewhen bytearray_substring("data", 68, 1) = 0x04 then 1else nullend) as Epic,count(casewhen bytearray_substring("data", 68, 1) = 0x05 then 1else nullend) as Legendaryfrompolygon.transactionswhere"to" = 0xf293b608baa0077737f691e210d46eedfccb0d67AND "block_time" >= date_trunc('hour', now()) - interval '24' hour