sarathInitial swap volumes of LUNA and UST 1
    Updated 2022-04-18
    with data1 as (
    SELECT day,pool_name,sum(swap_volume_rune_usd) as swap_volume from thorchain.daily_pool_stats WHERE pool_name LIKE '%DOGE%' AND swap_volume_rune_usd !=0
    GROUP by 1,2
    ORDER by DAY
    limit 3),
    data2 as (
    SELECT day,pool_name,sum(swap_volume_rune_usd) as swap_volume from thorchain.daily_pool_stats WHERE pool_name LIKE '%LUNA%' and swap_volume_rune_usd !=0
    GROUP by 1,2
    ORDER by DAY
    limit 3
    ),
    data3 as (
    SELECT day,pool_name,sum(swap_volume_rune_usd) as swap_volume from thorchain.daily_pool_stats WHERE pool_name LIKE '%UST%' and swap_volume_rune_usd !=0
    GROUP by 1,2
    ORDER by DAY
    limit 3 )
    SELECT * from data1
    UNION ALL
    SELECT * from data2
    union ALL
    SELECT * from data3

    Run a query to Download Data