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

求余数mod(被除数,除数)