Query editor
withsorted_apr as (select*fromquery_5577879),almanak_apr as (selectblock_date,compounded_index as almanak_indexfromsorted_aprwherevault_name like 'Almanak%'),other_apr as (selectblock_date,vault_name,compounded_indexfromsorted_apr-- where vault_name not like 'Almanak%')selectblock_date,vault_name,compounded_index,((compounded_index-100)/100) * 100 as apy,almanak_index,(almanak_index - compounded_index)*100 / almanak_index as diff_w_almanak,(almanak_index - compounded_index)*100 / (almanak_index - 100) as almanak_outperformancefromother_aprleft joinalmanak_apr using(block_date)