摘要: --分组函数 select avg(salary),max(salary),min(salary),sum(salary) from employees 运行结果 --判断大小 select max(last_name),min(last_name),max(hire_date),min(hire_ 阅读全文
posted @ 2022-08-13 21:29 前端导师歌谣 阅读(38) 评论(0) 推荐(0)
摘要: 33. 查询 employees 表中有多少个部门 select count(distinct department_id) from employees 34. 查询全公司奖金基数的平均值(没有奖金的人按 0 计算) select avg(nvl(commission_pct, 0)) from 阅读全文
posted @ 2022-08-13 21:29 前端导师歌谣 阅读(38) 评论(0) 推荐(0)
摘要: /*************************************************************************************************/ 40. 谁的工资比 Abel 高? 1). 写两条 SQL 语句. SELECT salary FR 阅读全文
posted @ 2022-08-13 21:29 前端导师歌谣 阅读(31) 评论(0) 推荐(0)
摘要: /*************************************************************************************************/ 40. 谁的工资比 Abel 高? 1). 写两条 SQL 语句. SELECT salary FR 阅读全文
posted @ 2022-08-13 21:29 前端导师歌谣 阅读(25) 评论(0) 推荐(0)
摘要: 1. 查询和Zlotkey相同部门的员工姓名和雇用日期 a) select last_name,hire_date b) from employees c) where department_id = ( d) select department_id e) from employees f) wh 阅读全文
posted @ 2022-08-13 21:29 前端导师歌谣 阅读(25) 评论(0) 推荐(0)
摘要: 1. 查询和Zlotkey相同部门的员工姓名和雇用日期 a) select last_name,hire_date b) from employees c) where department_id = ( d) select department_id e) from employees f) wh 阅读全文
posted @ 2022-08-13 21:29 前端导师歌谣 阅读(26) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-08-05 22:02 前端导师歌谣 阅读(19) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-08-05 22:02 前端导师歌谣 阅读(19) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-08-05 22:02 前端导师歌谣 阅读(17) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-08-05 22:02 前端导师歌谣 阅读(10) 评论(0) 推荐(0)