标签:sele sel strong ima art pre question order add
1、题目描述:
输入描述:
无
输出描述:
| emp_no | birth_date | first_name | last_name | gender | hire_date |
|---|---|---|---|---|---|
| 10011 | 1953-11-07 | Mary | Sluis | F | 1990-01-22 |
| 10005 | 1955-01-21 | Kyoichi | Maliniak | M | 1989-09-12 |
| 10007 | 1957-05-23 | Tzvetan | Zielinski | F | 1989-02-10 |
| 10003 | 1959-12-03 | Parto | Bamford | M | 1986-08-28 |
| 10001 | 1953-09-02 | Georgi | Facello | M | 1986-06-26 |
| 10009 | 1952-04-19 | Sumant | Peac | F | 1985-02-18 |
2、代码:主要考察运算符和关系运算符在sql里的应用
select * from employees where emp_no%2=1 and last_name!=‘Mary‘ order by hire_date desc;
标签:sele sel strong ima art pre question order add
原文地址:https://www.cnblogs.com/guoyu1/p/12242262.html