这题很简单,只需要分析一下题目意思就可以,它要emp_no为奇数,last_name不是Mary,最后按照hire_date降序排列。一句对应一个程序语言,注意where的使用。
select * from employees where emp_no%2=1 and last_name!='Mary' order by hire_date desc;
这题很简单,只需要分析一下题目意思就可以,它要emp_no为奇数,last_name不是Mary,最后按照hire_date降序排列。一句对应一个程序语言,注意where的使用。
select * from employees where emp_no%2=1 and last_name!='Mary' order by hire_date desc;