I want to compose bigquery in app script with date1 & date2 variable (as mentioned below). What is the format to pass these 2 variable?
var date1="20180601"
var date2="20180606"
var sql = "select * from table_query([project-name:dataset],
'table_id <= "date2" and table_id >= "date1"');";