Maybe not the most creative idea but could you just load the two tables into a local SQL database like H2 (if it is in memory it might be fast) and just use the SQL code? And then download the results?
–
Edit: A BETWEEN Statement with H2 database
Maybe not the most creative idea but could you just load the two tables into a local SQL database like H2 (if it is in memory it might be fast) and just use the SQL code? And then download the results?
–
Edit: A BETWEEN Statement with H2 database