bmorkaiTotal UST swapped to Luna comparison
    Updated 2021-08-04
    with may as (select
    swap_pair,
    --DATE_TRUNC('day', block_timestamp) as day,
    sum(token_0_amount_usd) as may_total
    from terra.swaps
    where swap_pair = 'UST to LUNA'
    and block_timestamp >= '2021-05-15'
    and block_timestamp <= '2021-05-31'
    group by swap_pair),

    aug as (select
    swap_pair,
    --DATE_TRUNC('day', block_timestamp) as day,
    sum(token_0_amount_usd) as aug_total
    from terra.swaps
    where swap_pair = 'UST to LUNA'
    and block_timestamp >= '2021-07-20'
    and block_timestamp <= '2021-08-03'
    group by swap_pair)

    select
    m.swap_pair,
    m.may_total,
    a.aug_total
    from may m
    inner join aug a
    on m.swap_pair = a.swap_pair