【正文】
。 ? 在查詢是基于未知的值時應(yīng)使用子查詢。 no rows selected 618 Copyright 169。 在多行子查詢中使用 ALL 操作符 9000, 6000, 4200 617 Copyright 169。) AND job_id 39。 Oracle Corporation, 2022. All rights reserved. SELECT employee_id, last_name, job_id, salary FROM employees WHERE salary ALL (SELECT salary FROM employees WHERE job_id = 39。IT_PROG39。IT_PROG39。 操作符 IN ANY ALL 含義 等于列表中的任何一個 和子查詢返回的任意一個值比較 和子查詢返回的所有值比較 615 Copyright 169。 Oracle Corporation, 2022. All rights reserved. 多行子查詢 ? 返回多行。)。 Oracle Corporation, 2022. All rights reserved. 子查詢中的空值問題 no rows selected SELECT last_name, job_id FROM employees WHERE job_id = (SELECT job_id FROM employees WHERE last_name = 39。 Oracle Corporation, 2022. All rights reserved.