I would like to run a certain SQL query on a subset of dates (every iteration with a different date value) Any idea how to implement it?