Hi @ahmed salah ,
If this query step in the daily job is set as below screenshot, the job will continue to work. This will not affect other steps running in this job.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".