I have manual query like:
select x, y, z, count(*) N
from table_a, table_b
where open_date <= '31.12.2020'
and nvl(close_date, '31.12.2020') >= '31.12.2020'
group by x, y, z
I need to upgrade it so that the user can choose any date in the visualization (instead of the specified '12/31/2020'). I have no idea how, please help me :)