nickpayiatis_Date Range
Updated 2023-03-04
9
1
2
3
4
5
6
7
8
›
⌄
with periods as(
select 'week' as period, current_date -8 as "Start Date", current_date -1 as "End Date"
union
select 'month' as period, current_date -31 as "Start Date", current_date -1 as "End Date"
)
select "Start Date", "End Date" from periods
where period = '{{date}}'
Run a query to Download Data