select * from employees where last_name <> 'Mary' and emp_no % 2 <> 0 order by hire_date desc;
字符类型的数据在作数学运算操作时,dbms会自动尝试将其转换成数值型然后计算,故直接使用emp_no%2就行