试题详情
- 单项选择题 Examine the description of the EMPLOYEES table: EMP_ID NUMBER(4) NOT NULL LAST_NAME VARCHAR2(30) NOT NULL FIRST_NAME VARCHAR2(30) DEPT_ID NUMBER(2) JOB_CAT VARCHARD2(30) SALARY NUMBER(8,2) Which statement shows the maximum salary paid in each job category of each department? ()
A、SELECT dept_id, job_cat, MAX(salary) FROM employees WHERE salary > MAX (salary);
B、SELECT dept_id, job_cat, MAX(salary) FROM employees GROUP BY dept_id,job_cat;
C、SELECT dept_id, job_cat, MAX(salary) FROM employees;
D、SELECT dept_id, job_cat, MAX(salary) FROM employees GROUP BY dept_id;
E、SELECT dept_id, job_cat, MAX(salary) FROM employees GROUP BY dept _ id job _ cat salary;
关注下方微信公众号,在线模考后查看

热门试题
- You need to perform
- Which are DML statem
- The EMP table conta
- For which action can
- Examine the structu
- Which two are charac
- The STUDENT_GRADES
- Examine the data fr
- What is true regardi
- Evaluate this SQL s
- Which SQL statement
- Which SQL statement
- Which two tasks can
- Examine the structu
- You want to display
- Which four are attri
- Examinethedescriptio
- In which scenario wo
- Examine the data fr
- Which statement corr