第一范文网 - 专业文章范例文档资料分享平台

部门基本考核题(含答案)

来源:用户分享 时间:2025/6/9 8:03:22 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

C. D. <%! %> <%@ %>

73. 在JSP中,page指令的()属性用来引入需要的包或类。

A. extends B. import C. languge D. contentType

74. 表名:Product

Id Product_ Name Price 1 A 16 2 B 22 3 C 52 4 D 82 5 E 82 6 F 72 7 G 42 8 H 52 9 I 89 10 J 77

计算Product表中所有产品的价格总和的语句正确的是()

A) Select count(Price) from Product; B) Select sum(Price) from Product; C) Select sum(*) from Product; D) Select count(*) from Product;

75. Student表结构如下:(id int,name varcha(20),sex varchar(10),old int,birth datetime),求

Student的平均年龄()

A) Select avg(birth) from Student; B) Select avg(old) from Student; C) Select sum(birth) from Student; D) Select sum(old) from Student;

76. 如下sql关键字中用于进行排序的关键字是()

A) GROUP BY B) GROUPBY C) ORDER BY D) ORDERBY

77. 下列关于关键字IN描述正确的是()

A、确定给定的值是否与子查询或列表中的值相匹配

B、IN 关键字之后的项目必须用逗号隔开,并且括在括号中

C、IN 关键字使您得以选择与列表中的任意一个值匹配的行 D、以上都正确

78. 分数表scores设计如下:courseID(课程编号)studentID(学生编号)score(分数),现在要查

询参加过至少两门课程考试的学生各门课程的平均成绩。以下SQL语句正确的是() A、select StudentID,avg(score) from scores group by StudentID having count(studentID)>1 B、select StudentID,avg(score) from scores group by StudentID where count(studentID)>1

C、select StudentID,avg(score) from scores group by StudentID where count(studentID)>1 group by StudentID

D、select StudentID,avg(score) from scores having count(studentID)>1

79. 以下语句出错,哪种改动能够正确执行()

SELECT deptno, max(sal) FROM emp

GROUP BY deptno

WHERE max(sal)>2500;

A) 将WHERE和GROUP BY 语句顺序调换一下

B) 将WHERE max(sal)>2500语句改成HAVING max(sal)>2500 C) 将WHERE max(sal)>2500语句改成WHERE sal>2500 D) 将WHERE max(sal)>2500语句改成HAVING sal>2500

80. Course表中分数score的最大值为90,那么如下哪个语句能够使90这条数据出现在第

一行()

A) Select score from Course order by score desc B) Select score from Course order by score asc C) Select score from Course order by score

D) Select score from Course group by score desc

81. 执行以下查询:SELECT sal \,表头的显示为( )

A) EMPLOYEE SALARY B) employee salary C) Employee Salary D) \

82. 下列SQL语句中正确的是()

A、select to_number('aaa') from dual; B、select to_number('aaa123') from dual; C、select to_number('2345') from dual; D、以上都不正确

1.B 2.A 3.B 4.C 5.D 6.B 7.D 8.A 9.D 10.B 11.A 12.D 13.D 14.B 15.A 16.D 17.D 18.D 19.B 20.A 21.C 22.A 23.C 24.B 25.C 26.C 27.B 28.A 29.D 30.C 31.A

32.ABCD select的流程 33.ABCD 34.ABC 35.D 36.B 37.B

38.ABCD 39.C

40.DCBA 41.DACB 42.AC 43.C

44.D 45.B 46.B 47.D 48.B 49.B 50.D 51.C 52.B 53.D 54.B 55.A 56.B 57.C 58.A 59.D 60.A 61.A 62.G 63.D 64.B 65.C 66.C 67.C 68.A 69.A 70.A 71.C 72.C 73.B 74.B 75.B 76.C 77.D 78.A 79.B 80.A 81.A 82.C 1.B 2.A 3.B

搜索更多关于: 部门基本考核题(含答案) 的文档
部门基本考核题(含答案).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c183hi4j97s01k8300srd_4.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top