Query editor
WITH TRANSACTIONS AS(SELECT sender AS account, evt_tx_hash AS txHashFROM fantv_polygon.fantv_dapp_evt_DebitUNION ALLSELECT reciever as account ,evt_tx_hash AS txHashFROM fantv_polygon.fantv_dapp_evt_CreditUNION ALLSELECT _from as account ,call_tx_hash AS txHashFROM fantv_polygon.FanTigerMarketplace_call_purchaseWithSigBatchwhere call_success = TRUE)SELECT account AS "USER", COUNT(txHash) AS "NO OF USEROPS"FROM TRANSACTIONSGROUP BY accountORDER BY COUNT(txHash) DESC