From 6a9c4adf5afb4cb92daaf640dae180284ad31e90 Mon Sep 17 00:00:00 2001 From: Alex Weseley Date: Mon, 9 Sep 2024 23:39:59 -0400 Subject: [PATCH] fixing dates --- models/projects/layerzero/core/ez_layerzero_metrics.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/projects/layerzero/core/ez_layerzero_metrics.sql b/models/projects/layerzero/core/ez_layerzero_metrics.sql index 0ac54c15..84d85064 100644 --- a/models/projects/layerzero/core/ez_layerzero_metrics.sql +++ b/models/projects/layerzero/core/ez_layerzero_metrics.sql @@ -29,6 +29,6 @@ SELECT f.fees, d.dau, d.txns -FROM fees f -JOIN dau_txns d using (date) +FROM dau_txns d +LEFT JOIN fees f using (date) WHERE coalesce(f.date, d.date) < to_date(sysdate()) \ No newline at end of file