Updated 2022-03-04
    Select
    date_trunc('day',block_timestamp) as block_day,
    date_trunc('hour',block_timestamp) as block_hour,
    case
    when delegator_address = 'terra1z0a8lsqle4zwpcvuytgh6xl2mf3f7dluflp83q' then 'me'
    else 'everyone else' end as delegator,
    sum(event_amount_usd) as amount_delegated_usd,
    count(*) as transaction_count
    from terra.staking
    where VALIDATOR_ADDRESS = 'terravaloper1r843mpk5zzkfgtnduskd0dzgeltv0n503ckzy6'
    and block_day = '2022-03-03'
    group by block_day, block_hour, delegator;