Query editor
SELECT'All Time' AS period,COUNT(DISTINCT "from") AS total_active_accountsFROM tron.transactionsUNION ALLSELECT'Last 30 Days' AS period,COUNT(DISTINCT "from") AS total_active_accountsFROM tron.transactionsWHEREblock_time > CURRENT_TIMESTAMP - INTERVAL '30' day