SELECT *
FROM crpt_Test
WHERE batch_Id = '76D79E5E-07A6-4B8E-964F-6287DC4873F9'
AND chart_code BETWEEN '10000' AND '13000'
AND chart_code NOT IN ('12101','12110','12116')
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden