在嵌套查询中搜索

时间:2014-12-10 18:16:09

标签: search nested

我希望主题反映我实际尝试使用以下查询的内容:

SELECT A.ID_NUMBER
FROM TABLE_A, TABLE_B
WHERE (TABLE_A.ID_NUMBER = CRITERIA_A)
  AND (TABLE_B.ID_NUMBER = CRITERIA_B)
  AND TABLE_A.ID_NUMBER NOT IN TABLE_B QUERY RESULTS

有人可以帮我弄清楚如何返回TABLE_A结果中未包含的TABLE_B元素吗?

0 个答案:

没有答案