Consider below query:
Select name from table_a join table_b on a.name = b.name where table_a.date between {{date_range}}
and table_b.date between {{date_range}}
Note: i have one date_range filter in dashboard and want to provide the selected values in above query.
Can i use the same date_range variable for two table?
What can be the best approach for this ?