Configure Batch Steps to Construct SQL Query based on the Spreadsheet