Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which connective is used to test the absence of set membership in SQL ?

  • A.minus
  • B.not in
  • C.intersection
  • D.or

Answer: B

Absence of set membership is tested with not in.

In SQL, the in connective tests whether a value belongs to a set (a list or a subquery result), and not in tests that it does not, for example where id not in (select id from enrolled).

minus (except) and intersection are set operations between two whole query results, not membership tests on a value, and or is a logical connective between conditions.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.