substring([CodeField],1,3) between 'C00' and 'C99' or substring([CodeField],1,3) between 'M00' and 'M99'