OCP-1Z0-051 补充题库 第40题 聚合函数的使用
2014-10-26 22:54
411 查看
一、原题
Which two are true about aggregate functions? (Choose two.)
A. You can use aggregate functions in any clause of a SELECT statement.
B. You can use aggregate functions only in the column list of the select clause and in the WHERE
clause of a SELECT statement.
C. You can mix single row columns with aggregate functions in the column list of a SELECT
statement by grouping on the single row columns.
D. You can pass column names, expressions, constants, or functions as parameter to an
aggregate function.
E. You can use aggregate functions on a table, only by grouping the whole table as one single
group.
F. You cannot group the rows of a table by more than one column while using aggregate
functions.
答案: A,D
二、题目翻译
下面关于聚合函数的描述,哪两个是正确的?(选择2个)
A.可以在SELECT语句的任何一个子句中使用聚合函数。
B.只能在SELECT语句的列的列表中和WHERE子句中使用聚合函数。
C.可以在有group by单行列的语句中的SELECT子句中混合使用单行列和聚合函数。
D.可以使用列名、表达式、常量或函数来做为聚合函数的参数。
E.只有在整个表的数据作为一个分组时,可以在表中使用聚合函数。
F.使用聚合函数的时候,不能对一个以上的列进行分组。
Which two are true about aggregate functions? (Choose two.)
A. You can use aggregate functions in any clause of a SELECT statement.
B. You can use aggregate functions only in the column list of the select clause and in the WHERE
clause of a SELECT statement.
C. You can mix single row columns with aggregate functions in the column list of a SELECT
statement by grouping on the single row columns.
D. You can pass column names, expressions, constants, or functions as parameter to an
aggregate function.
E. You can use aggregate functions on a table, only by grouping the whole table as one single
group.
F. You cannot group the rows of a table by more than one column while using aggregate
functions.
答案: A,D
二、题目翻译
下面关于聚合函数的描述,哪两个是正确的?(选择2个)
A.可以在SELECT语句的任何一个子句中使用聚合函数。
B.只能在SELECT语句的列的列表中和WHERE子句中使用聚合函数。
C.可以在有group by单行列的语句中的SELECT子句中混合使用单行列和聚合函数。
D.可以使用列名、表达式、常量或函数来做为聚合函数的参数。
E.只有在整个表的数据作为一个分组时,可以在表中使用聚合函数。
F.使用聚合函数的时候,不能对一个以上的列进行分组。
相关文章推荐
- OCP-1Z0-051 补充题库 第4题 聚合函数的使用
- OCP-1Z0-051 补充题库 第23题 表连接中别名的使用
- OCP-1Z0-051 补充题库 第1题 TRUNCATE命令的使用
- OCP-1Z0-051 补充题库 第8题 子查询的使用范围
- OCP-1Z0-051 补充题库 第41题 nvl函数的使用
- OCP-1Z0-051 补充题库 第13题 MERGE INTO语句
- OCP-1Z0-051 补充题库 第17题 约束的注意事项
- OCP-1Z0-051 补充题库 第21题 SEQUENCE序列注意事项
- OCP-1Z0-051 补充题库 第5题 主查询和子查询的注意事项
- OCP-1Z0-051 补充题库 第14题 关于表约束的视图
- OCP-1Z0-051 补充题库 第24题 SYNONYM同义词
- OCP-1Z0-051 补充题库 第29题 INSERT语句中有子查询
- OCP-1Z0-051 补充题库 第26题 单行函数特点
- OCP-1Z0-051 补充题库 第7题 ORDER BY 子句
- OCP-1Z0-051 补充题库 第11题 SQL和SQL*Plus的区别
- OCP-1Z0-051 补充题库 第16题 rownum的用法
- OCP-1Z0-051 补充题库 第18题 DELETE语句的特性
- OCP-1Z0-051 补充题库 第15题 子查询和join
- OCP-1Z0-051 补充题库 第2题 添加外键FOREIGN KEY
- OCP-1Z0-051 补充题库 第28题 Date类型