法一:使用%
select * from employees where emp_no%2 =1 and last_name!='Mary' order by hire_date desc
补充:不相等有三种表示方式:<>、!=、IS NOT
法二:使用&
SELECT * FROM employees WHERE emp_no & 1 AND last_name<>'Mary' ORDER BY hire_date DESC;
法一:使用%
select * from employees where emp_no%2 =1 and last_name!='Mary' order by hire_date desc
补充:不相等有三种表示方式:<>、!=、IS NOT
法二:使用&
SELECT * FROM employees WHERE emp_no & 1 AND last_name<>'Mary' ORDER BY hire_date DESC;