【2019年8月版】OCP 071认证考试原题-第42题
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> Choose two Examine this SQL statement: DELETE FROM employees e WHERE EXISTS (SELECT 'dummy' FROM emp_history WHERE employee_id = e.employee_id) Which two are true? A) The subquery is executed for every row in the EMPLOYEES table. B) The subquery is not a correlated subquery. C) The subquery is executed before the DELETE statement is executed. D) All existing rows in the EMPLOYEEE table are deleted. E) The DELETE statement executes successfully even if the subquery selects multiple rows. Answer::AE (解析:这又是一个关联子查询的考题,出现过多次,A 答案大家要注意。) 关联子查询: 1、 先执行主查询