Confirming your payment

Skip to content

Competency-Based Questions (CBQ) · Question 14 of 80

A database query on a set U of records works in two steps.

Question 141 markMCQMedium

A database query on a set UU of records works in two steps. Step 1 builds B−AB - A, the records in BB that are not in AA. Step 2 keeps only those records of Step 1 that are also in AA. So the query outputs A∩(B−A)A \cap (B - A). Which shorter expression gives the same output for every choice of the sets AA and BB?

Select your answer
  • (A) A∩BA \cap B

  • (B) ϕ\phi

    Correct answer
  • (C) B−AB - A

  • (D) BB