直接按条件排查 emp_no 为奇数: emp_no % 2 <> 0 last_name不为Mary: last_name <> 'Mary' 最后按照hire_date逆序排列
select * from employees
where emp_no%2<>0 and last_name<>'Mary'
order by hire_date desc;
直接按条件排查 emp_no 为奇数: emp_no % 2 <> 0 last_name不为Mary: last_name <> 'Mary' 最后按照hire_date逆序排列
select * from employees
where emp_no%2<>0 and last_name<>'Mary'
order by hire_date desc;