ML6Daily Average time between blocks on Networks
    Updated 2022-07-25
    select '1.Average time between blocks on Polygon : ' as lbl, datediff('second' , min(block_timestamp), max(block_timestamp))/count(*) as val , to_date(block_timestamp::date)
    from polygon.core.fact_blocks
    where year(block_timestamp)=2022 and month(block_timestamp) > 4
    group by 3
    UNION
    select '2.Average time between blocks on Solana : ', datediff('second' , min(block_timestamp), max(block_timestamp))/count(*) as val , to_date(block_timestamp::date)
    from solana.core.fact_blocks
    where year(block_timestamp)=2022 and month(block_timestamp) > 4
    group by 3
    UNION
    select '3.Average time between blocks on Flow : ', datediff('second' , min(block_timestamp), max(block_timestamp))/count(*) as val , to_date(block_timestamp::date)
    from flow.core.fact_blocks
    where year(block_timestamp)=2022 and month(block_timestamp) > 4
    group by 3
    UNION
    select '4.Average time between blocks on Ethereum : ', datediff('second' , min(block_timestamp), max(block_timestamp))/count(*) as val , to_date(block_timestamp::date)
    from ethereum.core.fact_blocks
    where year(block_timestamp)=2022 and month(block_timestamp) > 4
    group by 3
    UNION
    select '5.Average time between blocks on Optimism : ', datediff('second' , min(block_timestamp), max(block_timestamp))/count(*) as val , to_date(block_timestamp::date)
    from optimism.core.fact_blocks
    where year(block_timestamp)=2022 and month(block_timestamp) > 4
    group by 3
    Run a query to Download Data