If there are multiple queries in a batch thanthen these queries will be executed in the order they appear in the batch. After
After the execution of Query 1 is finished then the update query will be executed. You can run debugger to see the sequential execution.