SELECT date_trunc('month', BLOCK_TIMESTAMP) as date, COUNT(DISTINCT sender) as wallets,
case when date >= '2022-01-01' then '2022' else '2021' end as sep
from flipside_prod_db.algorand.application_call_transaction
where BLOCK_TIMESTAMP >= '2021-06-01'
GROUP by date