OCP 071 每日一题

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了OCP 071 每日一题相关的知识,希望对你有一定的参考价值。

Choose the best answer.
Examine the description of the EMPLOYEES table:
Name Null Type

EMP_ID NOT NUL NUMBER
EMP_NAME VARCHAR2 (40)
DEPT_ID NUMBER(2)
SALARY NUMBER(8,2)
JOIN_DATE DATE
Which query is valid?
A) SELECT dept_id, join_date,SUM(salary) FROM employees GROUP BY dept_id, join_date;
B) SELECT depe_id,join_date,SUM(salary) FROM employees GROUP BY dept_id:
C) SELECT dept_id,MAX(AVG(salary)) FROM employees GROUP BY dept_id;
D) SELECT dept_id,AVG(MAX(salary)) FROM employees GROUP BY dapt_id;
Answer: A

以上是关于OCP 071 每日一题的主要内容,如果未能解决你的问题,请参考以下文章

Leetcode每日一题(3)

LeetCode每日一题

每日一题,每日一字

Java每日一题20161227

JS-每日一题

leetcode 每日一题 953. 验证外星语词典