Click the Exhibit button and examine the data in the EMPLOYEES table.Examine the subquery:SELECT last_nameFROM employeesWHERE salary IN (SELECT MAX(salary)FROM employeesGROUP BY department_id);Which statement is true?()

<img src='https://img2.soutiyun.com/ask/uploadfile/2019-03-27/e0e7e26248da659a6662e982bf95acc3.jpg' /> A.The SELECT statement is syntactically accurate. B.The SELECT statement does not work because there is no HAVING clause. C.The SELECT statement does not work because the column specified in the GROUP BY clause is not in the SELECT list. D.The SELECT statement does not work because the GROUP BY clause should be in the main query and not in the subquery.

时间:2023-08-25 17:12:54

相似题目