select *
from employees
where mod(emp_no,2) = 1
and last_name != 'Mary'
order by hire_date desc

注意一下:取余函数 mod()