- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
1用sqlplus连接数据库时,为什么会出 Oracle not available错误? oracle server
(即通常所说的数据库)是否启动, ORACLE_SID是否正确设置。2找出员工的 姓中(last_name 第三个字母是 a 的员工名字 select last_name from s_emp where last_name like __a% 3找出员工名字中含有 a和 e的 select first_name from s_emp where first_ name like %a% and first_ name like %e%比较 select first_ name from s_emp where first_name like %a%e% 4列出每个员工的名字,工资、涨薪后工资
(涨幅为 8%),元为单位进行四舍五入 select first_name,salary,round(salary*1.08 from s_emp 5找出谁是最高领导,将名字按大写形式显示 select upper(first_name
from s_emp where ma nager_id is null 6找出所有有提成的员工,列出名字、工资、 提出,显示结果按工资从小到大,提成从小到大 select
first_ name,salary,commissio n_ pct from s_emp where commissio n_pct is not n ull order by salary desc,commission_pct 7找出31、41部门中工资在1000到1500之间的员工 select first_ name,dept_id,salary from s_emp where dept_id in (31,41 and salary betwee n 1000 and 1500 8改变 NLS_LANG 的值,让 select to_char(salary*12, L99,999.99 from s_emp 输出结果的货币单位是Y或 $ setenv NLS_LANG SMIPLIFIED CHINESE_CHINA.ZHS16GBK ( Y setenv NLS_LANG AMERICAN_AMERICA.US7ASCII 9 哪些员工的工资高于他直接上司的工资,列
出员工的名字和工资,上司的名字和工资 select
e.first_ name,e.salary,m.first_ name,m.salary from s_emp e,s_emp m where e.ma nager_id =m.id and e.salary m.salary 10 42部门有哪些职位 select distinet title from s_emp where dept_id = 42 11 哪些员工的入职日期比 Ben 晚 select first_name,start_date from s_emp where start_date (select start_date from s_emp where first_ name = Be若只有 一个名为Ben的。select first_name,start_date from s_emp where start_date all (select start_date from s_emp where first_ name = Be n select first_ name,start_date from s_emp where start_date (select max(start_date from s_emp where first_ name = Be n部门 号在20至40之间的员工中,最高和最低工资 select maxt(salary,min(salary from s_emp where dept_id between 20 and 40 1入 职日期最早和最晚的值 select max(start_date, min( start_date from s_emp 1整个公司中,最高工资和最低,工资相 差多少select max(salary - min( salary from s_emp 15公司有多少人和资金不为空的 人数 select count(*,count(commission_pct from s_emp 16资金大于 0 的人数 select coun t(* from s_emp where commssio n_pct 0 17各个部门平均、最大、最
小工资、人数,按照部门号升序排列 select
dept_
您可能关注的文档
最近下载
- 2024年河北对外经贸职业学院单招职业适应性测试题库附答案.docx VIP
- 46 黎曼几何初步 [伍鸿熙,沈纯理,虞言林 著] 2014年版.pdf VIP
- 2025-2026学年黑龙江省哈尔滨市德强学校八年级(上)期中化学试卷(五四学制)(含答案).docx
- Axio Vert A1-Xcite使用简述_华兰生物-zgh201903——[蔡司精品].pdf VIP
- 《时速160公里动力集中动车组运用维修管理暂行办法》(2018)200.pdf VIP
- 提高路缘石安装施工一次合格率.docx VIP
- 检验科主任述职报告.pptx VIP
- 2026年河北对外经贸职业学院单招职业适应性测试题库附答案.docx VIP
- 蓝海华腾TS-K系列伺服驱动器使用说明书.pdf
- 《县委书记的榜样——焦裕禄》课文原文阅读 .pdf VIP
原创力文档


文档评论(0)