I have some variables in bash like below.
bash
min_date=\'2020-06-06\' max_date=\'2020-06-08\' max_seq_min_date=1 --This is till where data is processe
Just use interpolation, i.e.
sql_clause="... batch_date = '$min_date' and seq_num in ('2','3', '4') ...."