数据库,在员工表中查询员工年龄大于30,结果按年龄升序排列
答案:2 悬赏:0
解决时间 2021-01-29 16:55
- 提问者网友:枯希心
- 2021-01-29 07:18
数据库,在员工表中查询员工年龄大于30,结果按年龄升序排列
最佳答案
- 二级知识专家网友:开心就好
- 2021-01-29 08:37
年龄字段没有,要计算的
Select * from emp where sysdate-birthdate >30
Order by sysdate-birthdate
Select * from emp where sysdate-birthdate >30
Order by sysdate-birthdate
全部回答
- 1楼网友:傲娇菇凉
- 2021-01-29 09:14
select * from table order by int类型字段 desc(降序) 或者 asc(升序),简单吧?
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯