Cluetopz2024-05-08 12:03 PM
    WITH user_activity AS (
    SELECT
    tx_from,
    MAX(block_timestamp) AS last_transaction_time
    FROM
    cosmos.core.fact_transactions
    GROUP BY
    tx_from
    and BLOCK_TIMESTAMP_HOUR >= current_date - {{Past_Days}}
    Run a query to Download Data